![]() |
![]() |
Meta-function to define a const or non const type. More...
Public Types | |
typedef boost::mpl::if_c < IsConst, Type const, Type > ::type | type |
Meta-function to define a const or non const type.
If the boolean template parameter is true, the type parameter will be defined as const, otherwise it will be defined as it was. This meta-function is used to have one implementation for both const and non const references
typedef boost::mpl::if_c< IsConst, Type const, Type >::type boost::geometry::add_const_if_c< IsConst, Type >::type |
April 2, 2011 |
Copyright © 2007-2011 Barend Gehrels, Amsterdam, the Netherlands Copyright © 2008-2011 Bruno Lalande, Paris, France Copyright © 2009-2010 Mateusz Loskot, London, UK |