Added alias templates for const_clone
[ci skip]
This commit is contained in:
parent
7e3b91ef8c
commit
723297efed
1 changed files with 9 additions and 0 deletions
|
@ -55,4 +55,13 @@ struct const_clone
|
|||
typename std::conditional<is_source_const, const D*, D*>::type;
|
||||
};
|
||||
|
||||
template<typename D, typename S>
|
||||
using const_clone_t = typename const_clone<D, S>::type;
|
||||
|
||||
template<typename D, typename S>
|
||||
using const_clone_ref = typename const_clone<D, S>::reference;
|
||||
|
||||
template<typename D, typename S>
|
||||
using const_clone_ptr = typename const_clone<D, S>::pointer;
|
||||
|
||||
} // namespace utils
|
||||
|
|
Loading…
Add table
Reference in a new issue