|
rippled
|
Makes T const or non const depending on a bool. More...
#include <maybe_const.h>
Public Types | |
| using | type = typename std::conditional< IsConst, typename std::remove_const< T >::type const, typename std::remove_const< T >::type >::type |
Public Member Functions | |
| maybe_const ()=default | |
Makes T const or non const depending on a bool.
Definition at line 10 of file maybe_const.h.
| using beast::maybe_const< IsConst, T >::type = typename std::conditional< IsConst, typename std::remove_const<T>::type const, typename std::remove_const<T>::type>::type |
Definition at line 13 of file maybe_const.h.
|
explicitdefault |