hyperledger/iroha
Iroha - A simple, decentralized ledger http://iroha.tech
iroha::utils Namespace Reference

Classes

struct  NoCopy
 
struct  NoMove
 
struct  ReadWriteObject
 
class  WaitForSingleObject
 

Functions

template<typename To , typename From >
std::shared_ptr< To > reinterpret_pointer_cast (std::shared_ptr< From > const &ptr) noexcept
 
template<typename T >
std::weak_ptr< T > make_weak (std::shared_ptr< T > const &ptr) noexcept
 

Detailed Description

Copyright Soramitsu Co., Ltd. All Rights Reserved. SPDX-License-Identifier: Apache-2.0

Function Documentation

◆ make_weak()

template<typename T >
std::weak_ptr<T> iroha::utils::make_weak ( std::shared_ptr< T > const &  ptr)
inlinenoexcept
Here is the caller graph for this function:

◆ reinterpret_pointer_cast()

template<typename To , typename From >
std::shared_ptr<To> iroha::utils::reinterpret_pointer_cast ( std::shared_ptr< From > const &  ptr)
inlinenoexcept
Here is the caller graph for this function: