Lines Matching refs:double_
164 BOOST_TYPEOF('{' << karma::double_ << ',' << karma::double_ << '}')
170 '{' << karma::double_ << ',' << karma::double_ << '}'); in call()
226 using boost::spirit::karma::double_; in main()
230 test_generator_attr("1.0,2.0", double_ << ',' << double_, std::make_pair(1.0, 2.0)); in main()
236 using boost::spirit::karma::double_; in main()
242 test_generator_attr("1.0", string | double_, v1); in main()
243 test_generator_attr("2.0", string | double_, 2.0); in main()
248 test_generator_attr("example", string | double_, v2); in main()
249 test_generator_attr("example", string | double_, "example"); in main()
255 using boost::spirit::karma::double_; in main()
264 test_generator_attr_delim("1.0 2.0 3.0 ", *double_, space, v); in main()
270 using boost::spirit::karma::double_; in main()
279 test_generator_attr_delim("1.0 2.0 3.0 ", +double_, space, v1); in main()
284 test_generator_attr("empty", +double_ | "empty", v2); in main()
290 using boost::spirit::karma::double_; in main()
296 test_generator_attr("1.0", double_ % ',', v1); in main()
299 test_generator_attr("1.0,2.0", double_ % ',', v1); in main()
305 using boost::spirit::karma::double_; in main()
310 test_generator_attr("1.0", -double_, val); in main()
311 test_generator_attr("2.0", -double_, 2.0); in main()
315 using boost::spirit::karma::double_; in main()
319 test_generator_attr("", -double_, val); in main()
325 using boost::spirit::karma::double_; in main()
342 using boost::spirit::karma::double_; in main()
362 using boost::spirit::karma::double_; in main()
370 test_generator_attr("1.0 |2.0", left_align(8)[double_] << '|' << double_, p); in main()
371 test_generator_attr(" 1.0 |2.0", center(8)[double_] << '|' << double_, p); in main()
372 test_generator_attr(" 1.0|2.0", right_align(8)[double_] << '|' << double_, p); in main()
378 using boost::spirit::karma::double_; in main()
388 test_generator_attr("[1.0][2.0][3.0]", repeat['[' << double_ << ']'], v); in main()
389 test_generator_attr("[1.0][2.0]", repeat(2)['[' << double_ << ']'], v); in main()
392 test_generator_attr("", repeat(4)['[' << double_ << ']'], v); in main()
398 using boost::spirit::karma::double_; in main()
405 delimit['[' << double_ << ',' << double_ << ']'], 2.0, 4.3); in main()
407 delimit('*')['[' << double_ << ',' << double_ << ']'], 2.0, 4.3); in main()
409 delimit[verbatim['[' << double_ << ','] << double_ << ']'], 2.0, 4.3); in main()
415 using boost::spirit::karma::double_; in main()
421 test_generator_attr("abc:2.0e-06", lower["ABC:" << double_], 2e-6); in main()
422 test_generator_attr("ABC:2.0E-06", upper["abc:" << double_], 2e-6); in main()
428 using boost::spirit::karma::double_; in main()
443 using boost::spirit::karma::double_; in main()
449 test_generator_attr("", -buffer['[' << +double_ << ']'], v); in main()
453 test_generator_attr("[1.02.0]", buffer['[' << +double_ << ']'], v); in main()
459 using boost::spirit::karma::double_; in main()
465 test_generator_attr("2.0", omit[double_] << double_, p); in main()
471 using boost::spirit::karma::double_; in main()
477 test_generator_attr("2.02.0", duplicate[double_ << double_], 2.0); in main()
478 test_generator_attr_delim("2.0 2.0 ", duplicate[double_ << double_], space, 2.0); in main()
484 using boost::spirit::karma::double_; in main()
494 test_generator_attr("1.0\n2.0\n3.0\n", columns(1)[*double_], v); in main()
495 test_generator_attr_delim("1.0 2.0 \n3.0 \n", columns(2)[*double_], space, v); in main()
546 using boost::spirit::karma::double_; in main()
552 test_generator("2.0", double_(2)); in main()
553 test_generator_attr("2.0", double_(2.0), 2.0); in main()
554 test_generator_attr("", double_(2.0), 3.0); // fails (as 2.0 != 3.0)! in main()
555 test_generator_attr("-2.0", double_, -2.0); in main()
557 test_generator_attr("1.234e05", double_, 1234.0e2); in main()
558 test_generator_attr("1.234e-06", double_, 0.000001234); in main()
882 using boost::spirit::karma::double_; in main()
897 test_generator_attr("xyz1.23", as_string[*char_] << double_, ut); in main()
898 test_generator_attr("xyz1.23", as<std::string>()[*char_] << double_, ut); in main()
905 test_generator_attr("xyz1.23", as_symbol[*char_] << double_, ut); in main()
906 test_generator_attr("xyz1.23", as<utf8_symbol_type>()[*char_] << double_, ut); in main()