9 Feb 11:51
Re: TMP runtime access problem
Mathias Gaunard <mathias.gaunard <at> ens-lyon.org>
2010-02-09 10:51:54 GMT
2010-02-09 10:51:54 GMT
Willy Liu a écrit : > Hi, I wonder that how to access metadata in runtime. > If I pre-compute something and save them into a template ARRAY<int N>, > how can I random access the metadatas in runtime? > What I can only do is binary searching. Is it possible to do in > constant time, or there exist some functions in MPL doing this? Just copy the data to an array, for example using mpl::for_each. _______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
RSS Feed