interest in an automatic dereferencing mechanism?

I'm working on a small library that performs compile-time, inline dereferencing that may prove useful for writing more generic algorithms. For example, a function that searches a sequence of iterators for an integer could be designed that would treat an int***[] just as if it were an int[] array. Is this something that might belong in the Boost framework? --------------------------------- Blab-away for as little as 1¢/min. Make PC-to-Phone Calls using Yahoo! Messenger with Voice.

sm garth ha escrito:
I'm working on a small library that performs compile-time, inline dereferencing that may prove useful for writing more generic algorithms. For example, a function that searches a sequence of iterators for an integer could be designed that would treat an int***[] just as if it were an int[] array. Is this something that might belong in the Boost framework?
There has been at least a recent proposal along the same line by Alo Sarv: http://lists.boost.org/boost-users/2005/12/15993.php http://hydranode.com/blog/2005/12/when-all-you-have-is-hammer.html I can't say for sure, but looks like you are dealing with the same issue. You might want to compare your solution with his, or maybe join forces :) HTH, Joaquín M López Muñoz Telefónica, Investigación y Desarrollo
participants (2)
-
Joaquín Mª López Muñoz
-
sm garth