fix docstring
parent
89cdf4f046
commit
aa52b39d9b
|
|
@ -116,7 +116,7 @@ class FactorGraph {
|
||||||
using HasDerivedValueType = typename std::enable_if<
|
using HasDerivedValueType = typename std::enable_if<
|
||||||
std::is_base_of<FactorType, typename T::value_type>::value>::type;
|
std::is_base_of<FactorType, typename T::value_type>::value>::type;
|
||||||
|
|
||||||
/// Check if T has a value_type derived from FactorType.
|
/// Check if T has a pointer type derived from FactorType.
|
||||||
template <typename T>
|
template <typename T>
|
||||||
using HasDerivedElementType = typename std::enable_if<std::is_base_of<
|
using HasDerivedElementType = typename std::enable_if<std::is_base_of<
|
||||||
FactorType, typename T::value_type::element_type>::value>::type;
|
FactorType, typename T::value_type::element_type>::value>::type;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue