Good C++ practices

Pages: 1234
Mar 27, 2014 at 7:05pm
@ Little Bobby Tables:
Yeah they refer to libraries using boost::something.
Mar 27, 2014 at 7:32pm
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 Mar 27, 2014 at 7:36pm
Mar 27, 2014 at 10:29pm
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