|
|
| Pimpl (T *implementation) noexcept |
| |
|
| Pimpl (Pimpl const &other) |
| |
|
| Pimpl (Pimpl &&other) noexcept |
| |
| T * | get () noexcept |
| | Retrieve a pointer to the underlying object. More...
|
| |
| T const * | get () const noexcept |
| | Retrieve a const pointer to the underlying object. More...
|
| |
|
void | uncheckedSet (T *impl) noexcept |
| | Set a new implementation without checking the state of the previous one. WARNING: If a valid implementation was set before, it is not deleted!!
|
| |
|
Pimpl & | operator= (Pimpl const &other) |
| |
|
Pimpl & | operator= (Pimpl &&other) noexcept |
| |
| T * | operator-> () noexcept |
| | Retrieve a pointer to the underlying object. More...
|
| |
| T const * | operator-> () const noexcept |
| | Retrieve a const pointer to the underlying object. More...
|
| |
| T & | operator* () noexcept |
| | Retrieve a reference to the underlying object. More...
|
| |
| T const & | operator* () const noexcept |
| | Retrieve a const reference to the underlying object. More...
|
| |
template<typename T>
class rfk::Pimpl< T >
Utility class used for the pimpl (pointer to implementation) idiom. It holds a pointer to the underlying class and propagates constness.