Sequoia
Loading...
Searching...
No Matches
Public Types | Static Public Member Functions | Friends | List of all members
sequoia::object::producer< T, Product, Transformer > Class Template Reference

Creates a product for T. More...

#include <Creator.hpp>

Public Types

using product_type = Product
 
using value_type = T
 
using transfomer_type = Transformer
 

Static Public Member Functions

template<class... Args>
requires initializable_from<product_type, std::invoke_result_t<Transformer, Args...>>
static constexpr product_type make (Args &&... args)
 

Friends

constexpr bool operator== (const producer &, const producer &) noexcept=default
 

Detailed Description

template<std::movable T, makeable_from< T > Product, class Transformer = direct_forwarder<T, Product>>
class sequoia::object::producer< T, Product, Transformer >

Creates a product for T.


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