backports.hpp File Reference
#include "../common.hpp"
#include <boost/lexical_cast.hpp>
#include "backports-optional.hpp"
#include "backports-ostream-joiner.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.

Namespaces

 ndn
 Copyright (c) 2013-2017 Regents of the University of California.
 

Macros

#define NDN_CXX_DEPRECATED   NDN_CXX_DEPRECATED_MSG("")
 
#define NDN_CXX_DEPRECATED_MSG(msg)
 
#define NDN_CXX_FALLTHROUGH   ((void)0)
 
#define NDN_CXX_HAS_CPP_ATTRIBUTE(x)   0
 
#define NDN_CXX_HAS_INCLUDE(x)   0
 

Functions

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 , typename... Args>
unique_ptr< T > ndn::make_unique (Args &&...args)
 
template<typename V >
std::string ndn::to_string (const V &v)
 

Macro Definition Documentation

#define NDN_CXX_DEPRECATED   NDN_CXX_DEPRECATED_MSG("")

Definition at line 52 of file backports.hpp.

#define NDN_CXX_DEPRECATED_MSG (   msg)

Definition at line 50 of file backports.hpp.

#define NDN_CXX_FALLTHROUGH   ((void)0)

Definition at line 63 of file backports.hpp.

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