mlpack  git-master
CheckNumFunctions< FunctionType > Struct Template Reference

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

Static Public Attributes

static const bool value
 

Detailed Description


template
<
typename
FunctionType
>

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

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

This is required by the DecomposableFunctionType API.

Definition at line 59 of file static_checks.hpp.

Member Data Documentation

◆ value

const bool value
static
Initial value:
=
HasNumFunctions<FunctionType, NumFunctionsForm>::value ||
HasNumFunctions<FunctionType, NumFunctionsConstForm>::value ||
HasNumFunctions<FunctionType, NumFunctionsStaticForm>::value

Definition at line 61 of file static_checks.hpp.


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