My Project
is_reference_wrapper.hpp
Go to the documentation of this file.
1 
28 #ifndef BSL_IS_REFERENCE_WRAPPER_HPP
29 #define BSL_IS_REFERENCE_WRAPPER_HPP
30 
31 #include "true_type.hpp"
32 #include "false_type.hpp"
33 
34 namespace bsl
35 {
37  template<typename T>
39 
51  template<typename T>
52  class is_reference_wrapper final : public false_type
53  {};
54 
56 
57  template<typename T>
58  class is_reference_wrapper<reference_wrapper<T>> final : public true_type
59  {};
60 
61  template<typename T>
62  class is_reference_wrapper<reference_wrapper<T> const> final : public true_type
63  {};
64 
66 }
67 
68 #endif
reference_wrapper prototype
Definition: is_reference_wrapper.hpp:38
If the provided type is an array type (taking into account const qualifications), provides the member...
Definition: integral_constant.hpp:45
If the provided type is a reference_wrapper (taking into account const qualifications),...
Definition: is_reference_wrapper.hpp:52