[Libxmlplusplus-general] "std::string &something" versus "std::string& something"
- From: murrayc t-online de (Murray Cumming)
- To: libxml++ <libxmlplusplus-general lists sourceforge net>
- Subject: [Libxmlplusplus-general] "std::string &something" versus "std::string& something"
- Date: 15 Nov 2002 15:38:39 +0100
I find
std::string& something
a lot more readable than
std::string &something
and I find it much easier to be consistent when dealing with return
values. The former is more common in C++ code.
I know it's a personal preference. I'm just hoping that the current
maintainer agrees and lets me change it. I consider this one of the
C-isms that were/are in the code, such as (void) and the declaration of
variables at the top of methods.
--
Murray Cumming
murray usa net
www.murrayc.com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]