mlpack  git-master
CheckEvaluate< FunctionType > Struct Template Reference

Check if a suitable overload of Evaluate() is available. More...

Static Public Attributes

static const bool value
 

Detailed Description


template
<
typename
FunctionType
>

struct mlpack::optimization::traits::CheckEvaluate< FunctionType >

Check if a suitable overload of Evaluate() is available.

This is required by the FunctionType API.

Definition at line 31 of file static_checks.hpp.

Member Data Documentation

◆ value

const bool value
static
Initial value:
=
HasEvaluate<FunctionType, EvaluateForm>::value ||
HasEvaluate<FunctionType, EvaluateConstForm>::value ||
HasEvaluate<FunctionType, EvaluateStaticForm>::value

Definition at line 33 of file static_checks.hpp.


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