Skip to content

Remove usage of std::aligned_storage #1961

@Lastique

Description

@Lastique

Summary

std::aligned_storage is deprecated in C++23. This type is still used in oneTBB tests and generates warnings when oneTBB is compiled in C++23 mode.

Version

oneTBB version: 2022.3.0

Environment

gcc 13.3, Kubuntu 24.04

Steps To Reproduce

$ fgrep -rl 'std::aligned_storage'

RELEASE_NOTES.md
test/common/concurrent_ordered_common.h
test/common/concurrent_unordered_common.h
test/common/container_move_support.h
test/conformance/conformance_concurrent_hash_map.cpp
test/conformance/conformance_concurrent_vector.cpp
test/tbb/test_concurrent_hash_map.cpp
test/tbb/test_concurrent_vector.cpp

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions