Remote storage for a single item. Implemented as a unique pointer that is never null, except when moved from.   
Definition in file box.hpp.
Go to the source code of this file.
#include <memory>#include <type_traits>#include <utility>#include <userver/formats/parse/to.hpp>#include <userver/formats/serialize/to.hpp>#include <userver/logging/log_helper_fwd.hpp>#include <userver/utils/assert.hpp>
 Include dependency graph for box.hpp:Classes | |
| class | utils::Box< T > | 
Remote storage for a single item. Implemented as a unique pointer that is never null, except when moved from.  More... | |
Namespaces | |
| namespace | utils | 
| Utilities.  | |
Functions | |
| template<typename Value , typename T > | |
| Box< T > | utils::Parse (const Value &value, formats::parse::To< Box< T > >) | 
| template<typename Value , typename T > | |
| Value | utils::Serialize (const Box< T > &value, formats::serialize::To< Value >) | 
| template<typename StringBuilder , typename T > | |
| void | utils::WriteToStream (const Box< T > &value, StringBuilder &sw) | 
| template<typename T > | |
| logging::LogHelper & | utils::operator<< (logging::LogHelper &lh, const Box< T > &box) |