On Jul 28, 2011, at 2:31 AM, Chris Foster wrote:

> One of the versions of tfm::format() is source compatible with OIIO's
> Strutil::format() so I found that as a quick hack, doing a
> 
>    using tinyformat::format;
> 
> inside namespace Strutil and commenting out the old format seemed to compile
> ok.  It also seems to work ok, judging from the output of iv's 
> updateStatusBar()
> function.

Exactly.  But the problem is that if you do this when variadic templates are 
available but stick to the old implementation when they aren't, you end up 
restricting yourself to only using the usual POD types, leaving on the table 
most of the interesting functionality of tinyformat.

--
Larry Gritz
[email protected]


_______________________________________________
Oiio-dev mailing list
[email protected]
http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org

Reply via email to