|
Boost : |
From: Daniel Frey (daniel.frey_at_[hidden])
Date: 2003-10-19 07:47:22
Thorsten Ottosen wrote:
> AFAICT, the problem is not that the C library functions modify their
> arguments, its rather
> the use of pointers and fixed-sized buffers.
But they often get a pointer to a buffer which they modify and return
the success of an operation (or number of modified elements or
whatever). The basic point is that C and C++ are different languages and
that this results in different programming styles and different
expectations for the reader of a piece of code. I don't think we should
use calls to C or Pascal functions to justify the design of a C++ interface.
Regards, Daniel
-- Daniel Frey aixigo AG - financial training, research and technology Schloß-Rahe-Straße 15, 52072 Aachen, Germany fon: +49 (0)241 936737-42, fax: +49 (0)241 936737-99 eMail: daniel.frey_at_[hidden], web: http://www.aixigo.de
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk