#include <optional.h>
|
template<class X > |
static auto | check (X x) -> decltype(x.empty()) |
|
static std::false_type | check (...) |
|
|
static constexpr const bool | value = std::is_integral<decltype(check(std::declval<T>()))>::value |
|
template<class T>
struct minsky::has_empty< T >
Definition at line 28 of file optional.h.
◆ check() [1/2]
template<class T >
template<class X >
◆ check() [2/2]
◆ value
template<class T >
constexpr const bool minsky::has_empty< T >::value = std::is_integral<decltype(check(std::declval<T>()))>::value |
|
static |
The documentation for this struct was generated from the following file: