#include "ndn-cxx/detail/common.hpp"
#include <boost/predef/compiler/clang.h>
#include <boost/predef/compiler/gcc.h>
#include <boost/predef/compiler/visualc.h>
Go to the source code of this file.
|
| template<typename T > |
| constexpr const T & | ndn::clamp (const T &v, const T &lo, const T &hi) |
| |
| template<typename T , typename Compare > |
| constexpr const T & | ndn::clamp (const T &v, const T &lo, const T &hi, Compare comp) |
| |
| template<typename T > |
| constexpr std::underlying_type_t< T > | ndn::to_underlying (T val) noexcept |
| |
◆ NDN_CXX_FALLTHROUGH
| #define NDN_CXX_FALLTHROUGH __attribute__((fallthrough)) |
◆ NDN_CXX_HAS_CPP_ATTRIBUTE
| #define NDN_CXX_HAS_CPP_ATTRIBUTE |
( |
|
x | ) |
0 |
◆ NDN_CXX_HAS_INCLUDE
| #define NDN_CXX_HAS_INCLUDE |
( |
|
x | ) |
0 |
◆ NDN_CXX_NODISCARD
| #define NDN_CXX_NODISCARD |
◆ NDN_CXX_UNREACHABLE
| #define NDN_CXX_UNREACHABLE BOOST_ASSERT(false) |