Lattice Builder Manual
Software Package for Constructing Rank-1 Lattices
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends Modules Pages
LatBuilder::WeightsDispatcher Class Reference

Static Public Member Functions

template<template< typename > class F, typename... ARGS>
static std::result_of< F
< LatCommon::Weights >const
LatCommon::Weights &, ARGS &&...)>
::type 
dispatch (const LatCommon::Weights &weights, ARGS &&...args)
 Calls functor F<WEIGHTS> with arguments weights, args..., where WEIGHTS is replaced with the concrete type of weights.
 
template<template< typename > class F, typename... ARGS>
static std::result_of< F
< LatCommon::Weights >
std::unique_ptr
< LatCommon::Weights >, ARGS &&...)>
::type 
dispatchPtr (std::unique_ptr< LatCommon::Weights > weights, ARGS &&...args)
 Calls functor F<WEIGHTS> with arguments weights, args..., where WEIGHTS is replaced with the concrete type of weights.
 

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