The Battle for Wesnoth  1.15.2+dev
Classes | Namespaces | Typedefs | Enumerations
variable_info_detail.hpp File Reference
#include "config.hpp"
#include "utils/const_clone.hpp"
#include <string>
#include <type_traits>
Include dependency graph for variable_info_detail.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  variable_info_implementation::vi_policy_const
 The variable_info policy classes. More...
 
class  variable_info_implementation::vi_policy_create
 Creates a child table when resolving name if it doesn't exist yet. More...
 
class  variable_info_implementation::vi_policy_throw
 Will throw an exception when trying to access a nonexistent table. More...
 
struct  variable_info_implementation::maybe_const< T, V >
 
struct  variable_info_implementation::maybe_const< config::child_itors, const vi_policy_const >
 
struct  variable_info_implementation::variable_info_state< V >
 

Namespaces

 variable_info_implementation
 

Typedefs

template<typename T , typename V >
using maybe_const_t = typename variable_info_implementation::maybe_const< T, V >::type
 Helper template alias for maybe_const, defined at global scope for convenience. More...
 

Enumerations

enum  variable_info_implementation::variable_info_state_type { variable_info_implementation::state_start = 0, variable_info_implementation::state_named, variable_info_implementation::state_indexed, variable_info_implementation::state_temporary }
 

Typedef Documentation

◆ maybe_const_t

template<typename T , typename V >
using maybe_const_t = typename variable_info_implementation::maybe_const<T, V>::type

Helper template alias for maybe_const, defined at global scope for convenience.

Definition at line 157 of file variable_info_detail.hpp.