namespace std { template, class Allocator = allocator > class basic_string { public: typedef typename Allocator::size_type size_type; ... static const size_type npos = -1; ... }; }