Good C++ practices

Pages: 1234
@ Little Bobby Tables:
Yeah they refer to libraries using boost::something.
Little Bobby Tables wrote:
yes you are. if they arent referencing actual code, they do it like this:
to do such and such, you would use boost.foo to do that.

If documentation does that it is poorly written because, as you just showed, it would cause confusion when actually writing code. If the references refer to it as boost.foo then it would make the beginning programmer think that they had to either do something like boost.foo or even boost::boost.foo

[EDIT]Typos.
Last edited on
In the boost documentation they often refer to modules as Boost.module_name http://www.boost.org/doc/libs/1_55_0/doc/html/boost_asio/using.html
Topic archived. No new replies allowed.
Pages: 1234