> It sounds like what you want is the STL map object or something similar. >Could you provide a link to the STL map function that allows you to use an SQL statement to query a combination of a realtime data source and a database?
I don't see how exposing the btree code in sqlite would accomplish that. Is what you want is to have a 'table' that appears to be an array fully exposed to the underlying language? Have you looked at persistant object databases and associative array libraries?

