#include "Exception.h"#include <memory>#include <iosfwd>#include <map>#include <utility>#include <mutex>#include <cstdio>#include <array>#include <cstring>#include <type_traits>#include <climits>#include <limits>#include <initializer_list>#include <algorithm>Classes | |
| struct | PLMD::TypesafePtr::SizeLike |
| Small structure used to pass elements of a shape initializer_list. More... | |
| class | PLMD::TypesafePtr |
| Class to deal with propoagation of typesafe pointers. More... | |
Namespaces | |
| namespace | PLMD |
Macros | |
| #define | __PLUMED_WRAPPER_TYPESAFEPTR(type, code, size) |
| Macro that uses __PLUMED_WRAPPER_TYPESAFEPTR_INNER to generate constructors with all possible pointer-const combinations. | |
| #define | __PLUMED_WRAPPER_TYPESAFEPTR_EMPTY(type, code) |
| Macro that generates the constructors from empy types (those of which sizeof cannot be computed) | |
| #define | __PLUMED_WRAPPER_TYPESAFEPTR_INNER(type, type_, flags_) |
| Macro that generate a constructor with given type and flags. | |
| #define | __PLUMED_WRAPPER_TYPESAFEPTR_SIZED(type, code) |
| Macro that generates the constructors from sized types (those of which sizeof can be computed). | |
Functions | |
| template<class T> | |
| std::size_t | PLMD::typesafePtrSizeof () |
| template<> | |
| std::size_t | PLMD::typesafePtrSizeof< const void > () |
| template<> | |
| std::size_t | PLMD::typesafePtrSizeof< void > () |
| static bool | PLMD::typesafePtrSkipCheck () |
| #define __PLUMED_WRAPPER_TYPESAFEPTR | ( | type, | |
| code, | |||
| size ) |
Macro that uses __PLUMED_WRAPPER_TYPESAFEPTR_INNER to generate constructors with all possible pointer-const combinations.
| #define __PLUMED_WRAPPER_TYPESAFEPTR_EMPTY | ( | type, | |
| code ) |
Macro that generates the constructors from empy types (those of which sizeof cannot be computed)
| #define __PLUMED_WRAPPER_TYPESAFEPTR_INNER | ( | type, | |
| type_, | |||
| flags_ ) |
Macro that generate a constructor with given type and flags.
| #define __PLUMED_WRAPPER_TYPESAFEPTR_SIZED | ( | type, | |
| code ) |
Macro that generates the constructors from sized types (those of which sizeof can be computed).
In addition to generating constructors with all pointer types, it generates a constructor to allow pass-by-value
Hosted by GitHub
|
1.13.2
|