Skip to content

Instantly share code, notes, and snippets.

@berkeley-db
Created January 23, 2011 19:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save berkeley-db/792358 to your computer and use it in GitHub Desktop.
Save berkeley-db/792358 to your computer and use it in GitHub Desktop.
int vector_test(int, char**)
{
typedef dbstl::db_vector <double, ElementHolder<double> > dbl_vec_t; // (1)
dbl_vec_t v1; // Empty vector of doubles. (1)
v1.push_back(32.1);
v1.push_back(40.5);
// The rest follows ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment