
24 Jun
2010
24 Jun
'10
7:50 a.m.
AMDG Hossein Haeri wrote:
Given an n-tuple t, is there any way to acquire n from t itself? I mean something like:
tuple<int, float> t; size_t n = t.size();//n == 2
boost::tuples::length<tuple<int, float> >::value or boost::fusion::size(t); (with the appropriate fusion headers) In Christ, Steven Watanabe