|
|
|
|
|
by rurban
415 days ago
|
|
I implemented a secure printf_s and its API is the problem. You cannot dead-code eliminate all the unused methods. And it's type unsafe. There are much better API's to implement a safe printer with all the formatting options still. format is not one of them |
|
And it all falls apart as soon as a format string cannot be known at compile time.