LoginSignup
27
8

More than 3 years have passed since last update.

API名最長選手権 in C++

Last updated at Posted at 2018-08-16

API名最長選手権のC++標準ライブラリ版。

最長でも 39文字 しかない。もっと気合を入れて欲しい。

identifier len since
atomic_compare_exchange_strong_explicit 39 C++11
hardware_constructive_interference_size 39 C++17
get_return_object_on_allocation_failure 39 C++201
uninitialized_construct_using_allocator 39 C++20
propagate_on_container_copy_assignment 38 C++11
propagate_on_container_move_assignment 38 C++11
hardware_destructive_interference_size 38 C++17
is_pointer_interconvertible_with_class 38 C++20
atomic_compare_exchange_weak_explicit 37 C++11
select_on_container_copy_construction 37 C++11
is_pointer_interconvertible_base_of_v 37 C++20
is_trivially_default_constructible_v 36 C++17
has_unique_object_representations_v 35 C++17
is_pointer_interconvertible_base_of 35 C++20
inappropriate_io_control_operation 34 C++11
is_trivially_default_constructible 34 C++11
is_nothrow_default_constructible_v 34 C++17
indirectly_regular_unary_invocable 34 C++20
atomic_flag_test_and_set_explicit 33 C++11
has_unique_object_representations 33 C++17
is_trivially_copy_constructible_v 33 C++17
is_trivially_move_constructible_v 33 C++17
uninitialized_default_construct_n 33 C++17
lexicographical_compare_three_way 33 C++20
is_nothrow_default_constructible 32 C++11
uses_allocator_construction_args 32 C++20

抽出には自作ツール https://github.com/yohhoy/cpp-longest-identifier を利用した。


  1. 厳密にはget_return_object_on_allocation_failureはC++20標準ライブラリで提供する名前ではなく、C++コルーチン機能から呼び出されるカスタマイズポイントの名前となる。 

27
8
3

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
27
8