#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 <initializer_list>Classes | |
| class | PLMD::TypesafePtr |
Namespaces | |
| 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. More... | |
| #define | __PLUMED_WRAPPER_TYPESAFEPTR_EMPTY(type, code) __PLUMED_WRAPPER_TYPESAFEPTR(type,code,0) |
| Macro that generates the constructors from empy types (those of which sizeof cannot be computed) More... | |
| #define | __PLUMED_WRAPPER_TYPESAFEPTR_INNER(type, type_, flags_) |
| Macro that generate a constructor with given type and flags. More... | |
| #define | __PLUMED_WRAPPER_TYPESAFEPTR_SIZED(type, code) |
| Macro that generates the constructors from sized types (those of which sizeof can be computed). More... | |
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 | |||
| ) | __PLUMED_WRAPPER_TYPESAFEPTR(type,code,0) |
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.8.17
|