Graphle 1.0.0
A C++20 header-only graph library
Loading...
Searching...
No Matches
Public Member Functions | List of all members
graphle::store::provide_newly_constructed< T, Args > Class Template Reference

#include <storage_provider_helpers.hpp>

Public Member Functions

 provide_newly_constructed (Args &&... args)
 
constexpr auto operator() (void) const &noexcept
 
constexpr auto operator() (void) &&noexcept
 

Detailed Description

template<typename T, typename... Args>
requires std::is_constructible_v<T, Args...>
class graphle::store::provide_newly_constructed< T, Args >

Storage provider that returns a new instance of T constructed with Args whenever it is invoked.

Definition at line 15 of file storage_provider_helpers.hpp.

Constructor & Destructor Documentation

◆ provide_newly_constructed()

template<typename T , typename... Args>
graphle::store::provide_newly_constructed< T, Args >::provide_newly_constructed ( Args &&...  args)
inlineexplicit

Definition at line 17 of file storage_provider_helpers.hpp.

Member Function Documentation

◆ operator()() [1/2]

template<typename T , typename... Args>
constexpr auto graphle::store::provide_newly_constructed< T, Args >::operator() ( void  ) &&
inlineconstexprnoexcept

Definition at line 23 of file storage_provider_helpers.hpp.

◆ operator()() [2/2]

template<typename T , typename... Args>
constexpr auto graphle::store::provide_newly_constructed< T, Args >::operator() ( void  ) const &
inlineconstexprnoexcept

Definition at line 19 of file storage_provider_helpers.hpp.


The documentation for this class was generated from the following file: