[Insight-users] embarassingly basic question

Torsten Rohlfing torsten at synapse.sri.com
Thu Apr 26 13:04:21 EDT 2012


Hi -

Had the same problem. Doesn't seem to be a good solution in current C++, 
but C++11 may have the right thing:

http://stackoverflow.com/questions/7725467/c-templates-variadic-but-static

Alternatively, I was thinking C-style varargs, but apparently that ain't 
such a great idea:

http://stackoverflow.com/questions/2627223/c-template-class-constructor-with-variable-arguments

Best,
   Torsten

-- 
Torsten Rohlfing, PhD          SRI International, Neuroscience Program
  Senior Research Scientist      333 Ravenswood Ave, Menlo Park, CA 94025
   Phone: ++1 (650) 859-3379      Fax: ++1 (650) 859-2743
    torsten at synapse.sri.com        http://www.stanford.edu/~rohlfing/

      "Though this be madness, yet there is a method in't"

-------------- next part --------------
A non-text attachment was scrubbed...
Name: torsten.vcf
Type: text/x-vcard
Size: 373 bytes
Desc: not available
URL: <http://www.itk.org/pipermail/insight-users/attachments/20120426/24cd92ae/attachment.vcf>


More information about the Insight-users mailing list