xerus
a general purpose tensor library
|
Header file for comfort functions and macros that should not be exported in the library. More...
Go to the source code of this file.
Macros | |
#define | CHECK XERUS_CHECK |
#define | IF_CHECK XERUS_IF_CHECK |
#define | IF_NO_CHECK XERUS_IF_NO_CHECK |
#define | INTERNAL_CHECK XERUS_INTERNAL_CHECK |
#define | IS_LOGGING XERUS_IS_LOGGING |
#define | LOG XERUS_LOG |
#define | LOG_ONCE XERUS_LOG_ONCE |
#define | LOG_SHORT XERUS_LOG_SHORT |
#define | REQUIRE XERUS_REQUIRE |
#define | SET_LOGGING XERUS_SET_LOGGING |
Functions | |
template<typename T , typename... Args> | |
std::unique_ptr< T > | std::make_unique (Args &&... args) |
template<class IteratorType , typename std::enable_if< std::is_same< typename std::iterator_traits< IteratorType >::difference_type, long >::value &&std::is_class< IteratorType >::value, bool >::type = true> | |
IteratorType | std::operator+ (const IteratorType &_iterator, const size_t _add) |
Add a + operator for iterators and size_t to avoid signed/unsigned errors. More... | |
template<template< class, class... > class container_t, class item_t , class... rest_t> | |
container_t< item_t, rest_t... > | std::operator| (const container_t< item_t, rest_t... > &_left, const container_t< item_t, rest_t... > &_right) |
: Concatenates two given cointainers. More... | |
Header file for comfort functions and macros that should not be exported in the library.
Definition in file internal.h.
#define CHECK XERUS_CHECK |
Definition at line 34 of file internal.h.
#define IF_CHECK XERUS_IF_CHECK |
Definition at line 35 of file internal.h.
#define IF_NO_CHECK XERUS_IF_NO_CHECK |
Definition at line 36 of file internal.h.
#define INTERNAL_CHECK XERUS_INTERNAL_CHECK |
Definition at line 37 of file internal.h.
#define IS_LOGGING XERUS_IS_LOGGING |
Definition at line 41 of file internal.h.
#define LOG XERUS_LOG |
Definition at line 38 of file internal.h.
#define LOG_ONCE XERUS_LOG_ONCE |
Definition at line 40 of file internal.h.
#define LOG_SHORT XERUS_LOG_SHORT |
Definition at line 39 of file internal.h.
#define REQUIRE XERUS_REQUIRE |
Definition at line 33 of file internal.h.
#define SET_LOGGING XERUS_SET_LOGGING |
Definition at line 42 of file internal.h.
std::unique_ptr<T> std::make_unique | ( | Args &&... | args | ) |
Definition at line 49 of file internal.h.
IteratorType std::operator+ | ( | const IteratorType & | _iterator, |
const size_t | _add | ||
) |
Add a + operator for iterators and size_t to avoid signed/unsigned errors.
Definition at line 64 of file internal.h.
container_t<item_t, rest_t...> std::operator| | ( | const container_t< item_t, rest_t... > & | _left, |
const container_t< item_t, rest_t... > & | _right | ||
) |
: Concatenates two given cointainers.
Definition at line 73 of file internal.h.