NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.5: NDN, CCN, CCNx, content centric networks
API Documentation
backports.hpp File Reference
#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>
Include dependency graph for backports.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


 Copyright (c) 2011-2015 Regents of the University of California.


#define NDN_CXX_HAS_INCLUDE(x)   0
#define NDN_CXX_FALLTHROUGH   __attribute__((fallthrough))


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

Macro Definition Documentation


#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().