C++ Tips: Difference between revisions

Jump to navigation Jump to search
456 bytes added ,  10 October 2009
No edit summary
Line 6: Line 6:


* Use the [http://www.boost.org/doc/libs/1_40_0/doc/html/string_algo.html boost helpers] for string manipulation - they're more portable than C-library functions, especially on non-Unix systems.
* Use the [http://www.boost.org/doc/libs/1_40_0/doc/html/string_algo.html boost helpers] for string manipulation - they're more portable than C-library functions, especially on non-Unix systems.
* (for the future) Use the boost helpers for file, directory and path manipulation (instead of the PLIB equivalents). The main reason is that at some point in the future, PLIB will be be removed from the code. boost includes portable, robust wrappers around various useful file operations, such as iterating over members of a directory.
(someone needs to decide whether SGPath should become a wrapper for a boost file path, or just be replaced entirely)


== Formatting and Style ==
== Formatting and Style ==
580

edits

Navigation menu