mn_value_ptr.hpp File Reference

This file is part of the Mini Thread Library (https://github.com/RoseLeBlood/MiniThread ). More...

#include "../mn_config.hpp"
#include "../mn_hash.hpp"
#include "mn_clone_ptr.hpp"

Go to the source code of this file.

Classes

class  mn::pointer::basic_value_ptr< T, TCloner, TDeleter >
 
struct  mn::hash< mn::pointer::value_ptr< T, D, C > >
 

Namespaces

 mn
 
 mn::pointer
 

Typedefs

template<typename T , class TCloner = basic_default_clone<T>, class TDeleter = memory::default_delete<T>>
using mn::pointer::value_ptr = basic_value_ptr< T, TCloner, TDeleter >
 

Functions

template<class T >
basic_value_ptr< typename mn::decay< T >::type > mn::pointer::make_value (T &&v)
 
template<class T , class... Args>
basic_value_ptr< T > mn::pointer::make_value (Args &&... args)
 
template<class T , class U , class... Args>
basic_value_ptr< T > mn::pointer::make_value (mn::initializer_list< U > il, Args &&... args)
 
template<class T , class D , class C >
void mn::pointer::swap (basic_value_ptr< T, D, C > &a, basic_value_ptr< T, D, C > &b) noexcept
 

Detailed Description

This file is part of the Mini Thread Library (https://github.com/RoseLeBlood/MiniThread ).

Author
Copyright (c) 2021 Amber-Sophia Schroeck
License
The Mini Thread Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, version 3, or (at your option) any later version.

The Mini Thread Library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with the Mini Thread Library; if not, see https://www.gnu.org/licenses/.