
7 Jun
2009
7 Jun
'09
5:46 p.m.
I've decided to "cross-post" the message below to boost devel mailing list in the hope someone can answer to my questions.
It stack overflows: your forwarding function calls the generic version of variance which call standard_deviation which calls variance and so on. Casting the distribution type to the type of the base class in your variance function should fix the issue. HTH, John.