From 1de38c8fb03fc28504a6849d4d588e922c4f77a3 Mon Sep 17 00:00:00 2001 From: sehe Date: Sun, 21 Jun 2015 23:56:56 +0200 Subject: [PATCH] attribute type specification used `basic_string` It was [brought to my attention](http://stackoverflow.com/questions/11421430/string-parser-with-boost-variant-recursive-wrapper/11422737?noredirect=1#comment49970878_11422737) on SO that the documentation seems to be (confusingly) in error. I admit I get more questions about "why can't I assign the synthesized attribute to a `std::string`" than I could explain. So I guess this should be fixed. --- doc/qi/string.qbk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/qi/string.qbk b/doc/qi/string.qbk index dd2250f0af..30f353ed10 100644 --- a/doc/qi/string.qbk +++ b/doc/qi/string.qbk @@ -87,7 +87,7 @@ not defined in __primitive_parser_concept__. [[Expression] [Attribute]] [[`s`] [__unused__]] [[`lit(s)`] [__unused__]] - [[`ns::string(s)`] [`std::basic_string` where `T` + [[`ns::string(s)`] [`std::vector` where `T` is the underlying character type of `s`.]] ]