y3c-stl 0.3.3
Friendly C++ STL wrapper with automatic stacktrace
Loading...
Searching...
No Matches
shared_ptr.h File Reference
#include "y3c/terminate.h"
#include "y3c/wrap.h"
#include "y3c/typename.h"
#include <memory>
Include dependency graph for shared_ptr.h:

Go to the source code of this file.

Classes

class  shared_ptr< T >
 所有権を共有するスマートポインタ (std::shared_ptr) More...
 

Namespaces

namespace  y3c
 

Functions

template<typename T >
const std::shared_ptr< T > & unwrap (const shared_ptr< T > &wrapper) noexcept
 
template<typename T >
void swap (shared_ptr< T > &lhs, shared_ptr< T > &rhs) noexcept
 
template<typename T , typename U >
bool operator== (const shared_ptr< T > &lhs, const shared_ptr< U > &rhs) noexcept
 
template<typename T , typename U >
bool operator!= (const shared_ptr< T > &lhs, const shared_ptr< U > &rhs) noexcept
 
template<typename T , typename U >
bool operator< (const shared_ptr< T > &lhs, const shared_ptr< U > &rhs) noexcept
 
template<typename T , typename U >
bool operator<= (const shared_ptr< T > &lhs, const shared_ptr< U > &rhs) noexcept
 
template<typename T , typename U >
bool operator> (const shared_ptr< T > &lhs, const shared_ptr< U > &rhs) noexcept
 
template<typename T , typename U >
bool operator>= (const shared_ptr< T > &lhs, const shared_ptr< U > &rhs) noexcept
 
template<class CharT , class Traits , typename T >
std::basic_ostream< CharT, Traits > & operator<< (std::basic_ostream< CharT, Traits > &os, const shared_ptr< T > &p)
 
template<typename T , typename... Args>
shared_ptr< T > make_shared (Args &&...args)
 shared_ptrを構築する