Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
drexlerd committed Aug 28, 2024
1 parent 623a835 commit 2f3526d
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions include/flatmemory/details/types/tuple.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -75,10 +75,14 @@ template<IsTriviallyCopyableOrNonTrivialType... Ts>
class Builder<Tuple<Ts...>> : public IBuilder<Builder<Tuple<Ts...>>>
{
private:
template<IsTriviallyCopyableOrNonTrivialType T>
template<typename T>
class TupleEntry
{
static_assert(std::false_type::value, "Builder<Tuple<Ts...>>::TupleEntry(...): Expected usage of overload.");
TupleEntry()
{
std::cout << "Instantiating get_element with type: " << typeid(T).name() << std::endl;
static_assert(std::false_type::value, "Builder<Tuple<Ts...>>::TupleEntry(...): Expected usage of overload.");
}
};

template<IsTriviallyCopyable T>
Expand Down

0 comments on commit 2f3526d

Please sign in to comment.