nds2-client - Developer 0.16.7
Loading...
Searching...
No Matches
Macros | Typedefs | Functions
nds_testing.hh File Reference
#include <cstdlib>
#include <memory>
#include <string>
#include <iostream>
Include dependency graph for nds_testing.hh:

Go to the source code of this file.

Macros

#define NDS_ASSERT(bool_expression)    nds_assert( ( bool_expression ), __FILE__, __LINE__ )
 

Typedefs

template<typename T >
using pointer = std::unique_ptr< T >
 

Functions

template<typename T , typename... Ts>
std::unique_ptr< T > make_unique_ptr (Ts &&... params)
 
static void nds_assert (bool expression, std::string fname, int lineno)
 

Macro Definition Documentation

◆ NDS_ASSERT

#define NDS_ASSERT (   bool_expression)     nds_assert( ( bool_expression ), __FILE__, __LINE__ )

Typedef Documentation

◆ pointer

template<typename T >
using pointer = std::unique_ptr< T >

Function Documentation

◆ make_unique_ptr()

template<typename T , typename... Ts>
std::unique_ptr< T > make_unique_ptr ( Ts &&...  params)

◆ nds_assert()

static void nds_assert ( bool  expression,
std::string  fname,
int  lineno 
)
inlinestatic