Boost logo

Boost :

Subject: Re: [boost] [test] Use of snprintf
From: Gennadiy Rozental (rogeeff_at_[hidden])
Date: 2009-11-23 11:37:09


Mateusz Loskot <mateusz <at> loskot.net> writes:

> Boost.Format works for me. Does it work for Boost.Test?

No. This is really low level function, which is using snprintf:

1. I do not want any extra dependencies
2. There is a requirement of no memory allocations
3. I do not need any fancy formatting. I just want to validate that there is not
preallocated buffer overrun.

Gennadiy


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk