Wandbox
SettingsLog
SettingsLog
Language
GitHubLogin
Ran/Viewed Log

Author

anonymous

almost 7 years ago

Language

C++

Compiler

gcc 8.1.0

Options
Warnings
Optimization
Boost 1.67.0
C++2a(GNU)
no pedantic

Author

anonymous

almost 7 years ago

$ g++ prog.cc -Wall -Wextra -O2 -march=native -I/opt/wandbox/boost-1.67.0/gcc-8.1.0/include -std=gnu++2a
In file included from /opt/wandbox/boost-1.67.0/gcc-8.1.0/include/boost/mpl/aux_/na_assert.hpp:23,
                 from /opt/wandbox/boost-1.67.0/gcc-8.1.0/include/boost/mpl/arg.hpp:25,
                 from /opt/wandbox/boost-1.67.0/gcc-8.1.0/include/boost/mpl/placeholders.hpp:24,
                 from /opt/wandbox/boost-1.67.0/gcc-8.1.0/include/boost/iterator/iterator_categories.hpp:16,
                 from /opt/wandbox/boost-1.67.0/gcc-8.1.0/include/boost/iterator/iterator_facade.hpp:13,
                 from /opt/wandbox/boost-1.67.0/gcc-8.1.0/include/boost/range/iterator_range_core.hpp:27,
                 from /opt/wandbox/boost-1.67.0/gcc-8.1.0/include/boost/range/iterator_range.hpp:13,
                 from /opt/wandbox/boost-1.67.0/gcc-8.1.0/include/boost/range/as_literal.hpp:22,
                 from /opt/wandbox/boost-1.67.0/gcc-8.1.0/include/boost/algorithm/string/trim.hpp:19,
                 from /opt/wandbox/boost-1.67.0/gcc-8.1.0/include/boost/algorithm/string.hpp:19,
                 from prog.cc:7:
/opt/wandbox/boost-1.67.0/gcc-8.1.0/include/boost/mpl/assert.hpp:188:21: warning: unnecessary parentheses in declaration of 'assert_arg' [-Wparentheses]
 failed ************ (Pred::************
                     ^
/opt/wandbox/boost-1.67.0/gcc-8.1.0/include/boost/mpl/assert.hpp:193:21: warning: unnecessary parentheses in declaration of 'assert_not_arg' [-Wparentheses]
 failed ************ (boost::mpl::not_<Pred>::************
                     ^
string length: 489
test iterations: 10000
string split: 42.8627 ms, res 690000 Allocation count: 110000, size 82330000
string_view split: 45.6841 ms, res 690000 Allocation count: 80000, size 40800000
boost split: 117.521 ms, res 690000 Allocation count: 160000, size 83930000
Exit Code:
0