![]() |
NEURON
|
Explicit specialisation data_handle<void>. More...
#include <data_handle.hpp>
Public Member Functions | |
data_handle ()=default | |
data_handle (void *raw_ptr) | |
data_handle (do_not_search_t, void *raw_ptr) | |
bool | refers_to_a_modern_data_structure () const |
operator bool () const | |
operator void * () | |
operator void const * () const | |
Private Attributes | |
void * | m_raw_ptr |
Friends | |
struct | generic_data_handle |
struct | std::hash< data_handle< void > > |
std::ostream & | operator<< (std::ostream &os, data_handle< void > const &dh) |
bool | operator== (data_handle< void > const &lhs, data_handle< void > const &rhs) |
Explicit specialisation data_handle<void>.
This is convenient as it allows void* to be stored in generic_data_handle. The "modern style" data handles that hold a reference to a container and a way of determining an offset into that container do not make sense with a void value type, so this only supports the "legacy" mode where a data handle wraps a plain pointer.
Definition at line 338 of file data_handle.hpp.
|
default |
|
inline |
Definition at line 340 of file data_handle.hpp.
|
inline |
Definition at line 342 of file data_handle.hpp.
|
inlineexplicit |
Definition at line 347 of file data_handle.hpp.
|
inlineexplicit |
Definition at line 350 of file data_handle.hpp.
|
inlineexplicit |
Definition at line 353 of file data_handle.hpp.
|
inline |
Definition at line 344 of file data_handle.hpp.
|
friend |
Definition at line 364 of file data_handle.hpp.
|
friend |
Definition at line 356 of file data_handle.hpp.
|
friend |
Definition at line 359 of file data_handle.hpp.
|
friend |
Definition at line 364 of file data_handle.hpp.
|
private |
Definition at line 366 of file data_handle.hpp.