9 template<
typename Product>
13 template<
typename Product>
25 std::vector<Converter<Product>> converters(
converters_);
26 converters.push_back(converter);
32 product = converter(product);
std::vector< Converter< Product > > converters_
Definition: facility.h:38
std::function< Product(Product)> Converter
Definition: facility.h:10
Facility< Product > expand(const Converter< Product > &converter) const
Definition: facility.h:24
Facility(std::initializer_list< Converter< Product >> converters)
Definition: facility.h:18
Facility(const std::vector< Converter< Product >> &converters)
Definition: facility.h:21
Product convert(Product product) const
Definition: facility.h:30
Definition: facility.h:14