Details
-
Improvement
-
Resolution: Done
-
Minor - P4
-
None
-
linux x64 g++
*Location*: http://docs.mongodb.org/ecosystem/tutorial/getting-started-with-cpp-driver/
*User-Agent*: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:26.0) Gecko/20100101 Firefox/26.0
*Referrer*: http://docs.mongodb.org/ecosystem/drivers/
*Screen Resolution*: 1680 x 1050
*repo*: docs-ecosystem
*source*: tutorial/getting-started-with-cpp-driver
linux x64 g++ *Location*: http://docs.mongodb.org/ecosystem/tutorial/getting-started-with-cpp-driver/ *User-Agent*: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:26.0) Gecko/20100101 Firefox/26.0 *Referrer*: http://docs.mongodb.org/ecosystem/drivers/ *Screen Resolution*: 1680 x 1050 *repo*: docs-ecosystem *source*: tutorial/getting-started-with-cpp-driver
Description
Just spent a good while googling why my code copy-pasted from this site doesn't compile.
There is no mention that BSONObjBuilder and BSONObj objects are inside mongo namespace, nor is there a mention that you don't need to include additional files after mongo/client/dbclient.h.