I'm not quite sure how much information is needed to answer this question, so tell me if additional information is needed.
Im modifying the big code that I wrote when I suddenly came across this message: error: type 'integer' is not a direct base of 'integer' . I know its inheritance problem, but im doesn't inherit other classes.
The code causing this problem is
integer(const std::string & val, uint16_t base): integer(val.begin(), val.end(), base) {}
and
integer(iterator start, iterator end, uint16_t base)
.
What do I need to do to fix this?
EDIT: im compiling with -std = C ++ 0x, which according to the answers should be able to compile if my compiler is not deprecated: gcc 4.6.2 I think
calccrypto
source share