Hello Justinas,

> I don't know where to upload this piece of code currently so I beg you
> pardon for sending an attachment. BTW, it is by no means a final
> implementation of things I've just written above. It's just an initial
piece
> of code - constructive comments, etc. would be nice :)

This code below is not compiling with Borland

#include <vector>  // only for size_t
template <typename T,size_t> class X;
template <typename T> class X<T,0> {};

int main() {
    X<int,0> x;
    return 0;
}

The size_t for the second template is the cause. It compiles with
    template <typename T,int> class X;
or in main()
    X<int,size_t(0)> x;

I think it could be a similar case in your tiny_vector definition.

Regards,
Patrick

_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

Reply via email to