gcc/libstdc++-v3/testsuite/experimental
Jonathan Wakely 441ed45ca2 PR libstdc++/90634 reduce allocations in filesystem::path construction
PR libstdc++/90634
	* include/experimental/bits/fs_path.h (path::path(path&&)): Only call
	_M_split_cmpts() for a path with multiple components.
	(path::_S_is_dir_sep()): Add missing 'static' keyword to function.
	* src/filesystem/path.cc (path::_M_split_cmpts()): Count number of
	components and reserve space in vector. Return early when there is
	only one component.
	* testsuite/27_io/filesystem/path/construct/90634.cc: New test.
	* testsuite/experimental/filesystem/path/construct/90634.cc: New test.

From-SVN: r271717
2019-05-28 20:39:48 +01:00
..
algorithm Update copyright years. 2019-01-01 13:31:55 +01:00
any PR libstdc++/90220 fix experimental::any_cast for non-object types 2019-05-23 14:39:06 +01:00
array Improve docs for Library Fundamentals TS 2019-05-02 16:46:29 +01:00
chrono Update copyright years. 2019-01-01 13:31:55 +01:00
deque Update copyright years. 2019-01-01 13:31:55 +01:00
filesystem PR libstdc++/90634 reduce allocations in filesystem::path construction 2019-05-28 20:39:48 +01:00
forward_list Update copyright years. 2019-01-01 13:31:55 +01:00
functional Update copyright years. 2019-01-01 13:31:55 +01:00
iterator Update copyright years. 2019-01-01 13:31:55 +01:00
list Update copyright years. 2019-01-01 13:31:55 +01:00
map Update copyright years. 2019-01-01 13:31:55 +01:00
memory PR c++/90047 - ICE with enable_if alias template. 2019-04-17 23:32:24 -04:00
memory_resource PR libstdc++/77691 fix resource_adaptor failures due to max_align_t bugs 2019-05-22 21:29:39 +01:00
net re PR libstdc++/89461 (FAIL: experimental/net/timer/waitable/cons.cc) 2019-03-12 23:13:36 +00:00
numeric Update copyright years. 2019-01-01 13:31:55 +01:00
optional Remove redundant __constexpr_addressof function 2019-05-02 22:23:35 +01:00
polymorphic_allocator P0482R5 char8_t: Updates to existing standard library tests 2019-02-22 01:16:08 +00:00
propagate_const Improve docs for Library Fundamentals TS 2019-05-02 16:46:29 +01:00
random Update copyright years. 2019-01-01 13:31:55 +01:00
ratio Update copyright years. 2019-01-01 13:31:55 +01:00
set Update copyright years. 2019-01-01 13:31:55 +01:00
source_location Update copyright years. 2019-01-01 13:31:55 +01:00
string Update copyright years. 2019-01-01 13:31:55 +01:00
string_view Fix basic_string_view typedefs and enforce preconditions 2019-04-24 16:17:53 +01:00
system_error Update copyright years. 2019-01-01 13:31:55 +01:00
tuple Update copyright years. 2019-01-01 13:31:55 +01:00
type_erased_allocator Update copyright years. 2019-01-01 13:31:55 +01:00
type_traits nonesuch is insufficiently useless (lwg2996) 2019-05-14 16:48:27 +01:00
unordered_map Update copyright years. 2019-01-01 13:31:55 +01:00
unordered_set Update copyright years. 2019-01-01 13:31:55 +01:00
vector Update copyright years. 2019-01-01 13:31:55 +01:00
feat-char8_t.cc Add L suffix to __cpp_lib_char8_t value 2019-03-06 12:13:19 +00:00
feat-cxx14.cc Use dg-do preprocess instead of compile for tests 2016-08-23 11:13:31 +01:00
feat-lib-fund.cc Use dg-do preprocess instead of compile for tests 2016-08-23 11:13:31 +01:00
names.cc Fix test failure due to Networking TS headers using mutexes 2019-05-20 21:21:15 +01:00