#include "ndn-cxx/detail/common.hpp"
#include <boost/predef/compiler/clang.h>
#include <boost/predef/compiler/gcc.h>
#include <boost/predef/compiler/visualc.h>
#include <boost/lexical_cast.hpp>
Go to the source code of this file.
Namespaces | |
ndn | |
Copyright (c) 2011-2015 Regents of the University of California. | |
Macros | |
#define | NDN_CXX_HAS_CPP_ATTRIBUTE(x) 0 |
#define | NDN_CXX_HAS_INCLUDE(x) 0 |
#define | NDN_CXX_FALLTHROUGH __attribute__((fallthrough)) |
#define | NDN_CXX_NODISCARD |
#define | NDN_CXX_UNREACHABLE BOOST_ASSERT(false) |
Functions | |
template<typename T > | |
std::string | ndn::to_string (const T &val) |
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 const T & | ndn::clamp (const T &v, const T &lo, const T &hi) |
template<typename T > | |
NDN_CXX_NODISCARD constexpr std::underlying_type_t< T > | ndn::to_underlying (T val) noexcept |
#define NDN_CXX_HAS_CPP_ATTRIBUTE | ( | x | ) | 0 |
Definition at line 34 of file backports.hpp.
#define NDN_CXX_HAS_INCLUDE | ( | x | ) | 0 |
Definition at line 40 of file backports.hpp.
#define NDN_CXX_FALLTHROUGH __attribute__((fallthrough)) |
Definition at line 54 of file backports.hpp.
Referenced by ndn::RegexTopMatcher::fromName().
#define NDN_CXX_NODISCARD |
Definition at line 68 of file backports.hpp.
Referenced by ndn::clamp(), ndn::lp::Packet::empty(), ndn::scheduler::EventInfo::EventInfo(), ndn::detail::RecordContainer< PendingInterest >::forEach(), ndn::fromHexChar(), ndn::lp::Packet::get(), ndn::InterestFilter::getRegexFilter(), ndn::MetadataObject::getVersionedName(), ndn::lp::Packet::has(), ndn::Name::hasWire(), ndn::tlv::isCriticalType(), ndn::name::Component::isKeyword(), ndn::security::detail::Bio::operator BIO *(), ndn::Interest::setAutoCheckParametersDigest(), ndn::toHex(), and ndn::toHexChar().
#define NDN_CXX_UNREACHABLE BOOST_ASSERT(false) |
Definition at line 138 of file backports.hpp.
Referenced by nfd::fw::asf::ProbingModule::afterForwardingProbe(), ndn::security::tpm::getAsymKeyType(), ndn::KeyLocator::getType(), ndn::tlv::detail::ReadNumberFast< Iterator >::operator()(), ndn::operator<<(), and nfd::operator<<().