SObjectizer  5.5
Classes | Namespaces | Functions
outliving.hpp File Reference

outliving_reference_t and related stuff. More...

#include <so_5/compiler_features.hpp>
#include <memory>

Go to the source code of this file.

Classes

class  so_5::outliving_reference_t< T >
 Helper class for indication of long-lived reference via its type. More...
 

Namespaces

 so_5
 Public part of message limit implementation.
 

Functions

template<typename T >
outliving_reference_t< T > so_5::outliving_mutable (T &r)
 Make outliving_reference wrapper for mutable reference. More...
 
template<typename T >
outliving_reference_t< const T > so_5::outliving_const (T const &r)
 Make outliving_reference wrapper for const reference. More...
 
template<typename T >
outliving_reference_t< const T > so_5::outliving_const (outliving_reference_t< T > r)
 Make outliving_reference wrapper for const reference. More...
 

Detailed Description

outliving_reference_t and related stuff.

Note
This code is borrowed from cpp_util_3 project (https://bitbucket.org/sobjectizerteam/cpp_util-3.0)
Since
v.5.5.19