Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 0 additions & 16 deletions include/acto/acto.h
Original file line number Diff line number Diff line change
Expand Up @@ -105,11 +105,6 @@ template <typename T>
struct message_container<T, true> : private T {
static constexpr bool is_value_movable = false;

constexpr message_container(T&& t) noexcept(
std::is_nothrow_move_constructible_v<T>)
: T(std::move(t)) {
}

template <typename... Args>
constexpr message_container(Args&&... args) noexcept(
std::is_nothrow_constructible_v<T, Args...>)
Expand All @@ -129,11 +124,6 @@ template <typename T>
struct message_container<T, false> {
static constexpr bool is_value_movable = std::is_move_constructible<T>::value;

constexpr message_container(T&& t) noexcept(
std::is_nothrow_move_constructible_v<T>)
: value_(std::move(t)) {
}

template <typename... Args>
constexpr message_container(Args&&... args) noexcept(
std::is_nothrow_constructible_v<T, Args...>)
Expand All @@ -160,12 +150,6 @@ template <typename T>
struct msg_wrap_t
: public msg_t
, public message_container_t<T> {
constexpr msg_wrap_t(T&& d) noexcept(
std::is_nothrow_constructible_v<message_container_t<T>, T&&>)
: msg_t(typeid(T))
, message_container_t<T>(std::move(d)) {
}

template <typename... Args>
constexpr msg_wrap_t(Args&&... args) noexcept(
std::is_nothrow_constructible_v<message_container_t<T>, Args...>)
Expand Down
4 changes: 4 additions & 0 deletions llvm-toolchain.cmake
Original file line number Diff line number Diff line change
@@ -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")