Skip to content

Commit

Permalink
Add constructor to StatisticType docs
Browse files Browse the repository at this point in the history
  • Loading branch information
robertohueso committed Oct 19, 2018
1 parent a7e9cb5 commit 306e170
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion doc/policies/trees.hpp
Expand Up @@ -430,9 +430,12 @@ which provides the \c Variance() method, and then call \c Stat().Variance() when
the variance is required. This also holds true for cached data members.
Each node should have its own instance of a \c StatisticType class. The
\c StatisticType must provide the following constructor:
\c StatisticType must provide the following constructors:
@code
// Default constructor required by the StatisticType policy.
StatisticType();
// This constructor is required by the StatisticType policy.
template<typename TreeType>
StatisticType(TreeType& node);
Expand Down

0 comments on commit 306e170

Please sign in to comment.