C++ Template: Table Class

David Smith DavidSmith at byu.net
Wed Mar 16 21:16:00 MST 2005


I'm looking for a template class that'll let me setup aribtrarily wide
tables. Something like this:

  std::table< int, int, float, int > myTable;
  ...
  iter = myTable.find( int, int, float );

Or something like that. The goal is to setup some lookup tables and reuse
the same code for each one, even though they have different numbers of
columns and different typed columns. It needs to be self-contained in the
code, so something like SQLite is out. Any ideas?

--Dave



More information about the PLUG mailing list