My Project
nonesuch.hpp
Go to the documentation of this file.
1 
28 #ifndef BSL_NONESUCH_HPP
29 #define BSL_NONESUCH_HPP
30 
31 namespace bsl
32 {
38  class nonesuch final
39  {
40  public:
44  constexpr nonesuch() noexcept = delete;
45 
49  ~nonesuch() noexcept = delete;
50 
57  constexpr nonesuch(nonesuch const &o) noexcept = delete;
58 
65  constexpr nonesuch(nonesuch &&o) noexcept = delete;
66 
74  constexpr nonesuch &operator=(nonesuch const &o) &noexcept = delete;
75 
83  constexpr nonesuch &operator=(nonesuch &&o) &noexcept = delete;
84  };
85 }
86 
87 #endif
Used by is_detected to indicate detection failure.
Definition: nonesuch.hpp:38
constexpr nonesuch & operator=(nonesuch const &o) &noexcept=delete
Used to define bsl::nonesuch as useless.
~nonesuch() noexcept=delete
Used to define bsl::nonesuch as useless.
constexpr nonesuch() noexcept=delete
Used to define bsl::nonesuch as useless.