diff --git a/include/acto/acto.h b/include/acto/acto.h index 4c74bff..8175ce3 100644 --- a/include/acto/acto.h +++ b/include/acto/acto.h @@ -105,11 +105,6 @@ template struct message_container : private T { static constexpr bool is_value_movable = false; - constexpr message_container(T&& t) noexcept( - std::is_nothrow_move_constructible_v) - : T(std::move(t)) { - } - template constexpr message_container(Args&&... args) noexcept( std::is_nothrow_constructible_v) @@ -129,11 +124,6 @@ template struct message_container { static constexpr bool is_value_movable = std::is_move_constructible::value; - constexpr message_container(T&& t) noexcept( - std::is_nothrow_move_constructible_v) - : value_(std::move(t)) { - } - template constexpr message_container(Args&&... args) noexcept( std::is_nothrow_constructible_v) @@ -160,12 +150,6 @@ template struct msg_wrap_t : public msg_t , public message_container_t { - constexpr msg_wrap_t(T&& d) noexcept( - std::is_nothrow_constructible_v, T&&>) - : msg_t(typeid(T)) - , message_container_t(std::move(d)) { - } - template constexpr msg_wrap_t(Args&&... args) noexcept( std::is_nothrow_constructible_v, Args...>) diff --git a/llvm-toolchain.cmake b/llvm-toolchain.cmake new file mode 100644 index 0000000..5b27ce1 --- /dev/null +++ b/llvm-toolchain.cmake @@ -0,0 +1,4 @@ +set(LLVM_ROOT /usr/lib/llvm-18) +set(CMAKE_C_COMPILER ${LLVM_ROOT}/bin/clang) +set(CMAKE_CXX_COMPILER ${LLVM_ROOT}/bin/clang++) +set(CMAKE_EXE_LINKER_FLAGS "--ld-path=${LLVM_ROOT}/bin/ld.lld")