The Battle for Wesnoth  1.15.0+dev
Classes | Namespaces | Typedefs
const_clone.hpp File Reference
#include <type_traits>
Include dependency graph for const_clone.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  utils::const_clone< D, S >
 Helper struct to clone the constness of one type to another. More...
 

Namespaces

 utils
 

Typedefs

template<typename D , typename S >
using utils::const_clone_t = typename const_clone< D, S >::type
 
template<typename D , typename S >
using utils::const_clone_ref = typename const_clone< D, S >::reference
 
template<typename D , typename S >
using utils::const_clone_ptr = typename const_clone< D, S >::pointer