NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.3: NDN, CCN, CCNx, content centric networks
API Documentation
backports.hpp File Reference
#include "../common.hpp"
#include <boost/lexical_cast.hpp>
#include <algorithm>
#include "backports-optional.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) 2011-2015 Regents of the University of California.
 

Functions

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