My Project
remove_const.hpp
Go to the documentation of this file.
1 
28 #ifndef BSL_REMOVE_CONST_HPP
29 #define BSL_REMOVE_CONST_HPP
30 
31 namespace bsl
32 {
43  template<typename T>
44  struct remove_const final
45  {
47  using type = T;
48  };
49 
51  template<typename T>
53 
55 
56  template<typename T>
57  struct remove_const<T const> final
58  {
60  using type = T;
61  };
62 
64 }
65 
66 #endif
Provides the member typedef type which is the same as T, except that its topmost const qualifier is r...
Definition: remove_const.hpp:44
T type
provides the member typedef "type"
Definition: remove_const.hpp:47
typename remove_const< T >::type remove_const_t
a helper that reduces the verbosity of bsl::remove_const
Definition: remove_const.hpp:52