From 306e17017e7fa1376ccec652f703883d084d5e1e Mon Sep 17 00:00:00 2001 From: Roberto Hueso Gomez Date: Fri, 19 Oct 2018 21:19:54 +0200 Subject: [PATCH] Add constructor to StatisticType docs --- doc/policies/trees.hpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/doc/policies/trees.hpp b/doc/policies/trees.hpp index c15ef3955a4..dce15007d0a 100644 --- a/doc/policies/trees.hpp +++ b/doc/policies/trees.hpp @@ -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 StatisticType(TreeType& node);