The Battle for Wesnoth  1.19.0-dev
List of all members
variable_info_implementation::maybe_const< T, V > Struct Template Reference

#include <variable_info_detail.hpp>

Inheritance diagram for variable_info_implementation::maybe_const< T, V >:

Additional Inherited Members

- Public Types inherited from utils::const_clone< T, V >
using type = std::conditional_t< is_source_const, const T, T >
 The destination type, possibly const qualified. More...
 
using reference = std::conditional_t< is_source_const, const T &, T & >
 A reference to the destination type, possibly const qualified. More...
 
using pointer = std::conditional_t< is_source_const, const T *, T * >
 A pointer to the destination type, possibly const qualified. More...
 
- Static Public Attributes inherited from utils::const_clone< T, V >
static const bool is_source_const
 

Detailed Description

template<typename T, typename V>
struct variable_info_implementation::maybe_const< T, V >

Definition at line 108 of file variable_info_detail.hpp.


The documentation for this struct was generated from the following file: