Hello,
I need to create a sequence of float values that the user can put in at
compile time. Since floats cannot be used as template params I am
assuming I cannot use vector_c in any way.
My plan was to have the user input the initial float values as
mpl::vector<char> and then convert the chars to string and then the
string to float when I needed to use it at runtime. My other idea was
to make a struct that inherited from mpl::pair and have the first part
be the integral part and the second part be the decimal part and again,
construct the float from that.
So the two ideas look something like:
// idea 1 - a bit odd but need to get around C++ on this one
typedef mpl::vector_c