#include <cstring>
#include <type_traits>
#include <cassert>
#include <cstddef>
#include <memory>
#include <new>
#include <utility>
Go to the source code of this file.
|
#define | ENABLE_IF_CONV_TO_FUN_PTR(x) typename std::enable_if<std::is_constructible<typename MemFuncToFunc<decltype(&std::decay<x>::type::operator())>::Type, x>::value>::type* = nullptr |
|
#define | ENABLE_IF_NOT_CONV_TO_FUN_PTR(x) typename std::enable_if<!std::is_constructible<typename MemFuncToFunc<decltype(&std::decay<x>::type::operator())>::Type, x>::value>::type* = nullptr |
|
#define | ENABLE_IF_SAME_TYPE(x, y) typename = typename std::enable_if<!std::is_same<x, typename std::decay<y>::type>{}>::type |
|
#define ENABLE_IF_CONV_TO_FUN_PTR |
( |
|
x | ) |
typename std::enable_if<std::is_constructible<typename MemFuncToFunc<decltype(&std::decay<x>::type::operator())>::Type, x>::value>::type* = nullptr |
#define ENABLE_IF_NOT_CONV_TO_FUN_PTR |
( |
|
x | ) |
typename std::enable_if<!std::is_constructible<typename MemFuncToFunc<decltype(&std::decay<x>::type::operator())>::Type, x>::value>::type* = nullptr |
#define ENABLE_IF_SAME_TYPE |
( |
|
x, |
|
|
|
y |
|
) |
| typename = typename std::enable_if<!std::is_same<x, typename std::decay<y>::type>{}>::type |