Skip to content

Commit

Permalink
Please consider the following formatting changes
Browse files Browse the repository at this point in the history
  • Loading branch information
alibuild committed Jul 1, 2024
1 parent d72f22a commit ffbafd2
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Framework/Core/include/Framework/ASoA.h
Original file line number Diff line number Diff line change
Expand Up @@ -782,8 +782,9 @@ struct ColumnDataHolder {
};

template <typename T, typename B>
concept CanBind = requires(T&& t) {
{ t.B::mColumnIterator };
concept CanBind = requires(T&& t)
{
{t.B::mColumnIterator};
};

template <typename IP, typename... C>
Expand Down Expand Up @@ -978,12 +979,11 @@ struct RowViewCore : public IP, C... {
// error if constructor for the table or any other thing involving a missing
// binding is preinstanciated.
template <typename B>
requires(CanBind<typename table_t::iterator, B>)
decltype(auto) getDynamicBinding()
requires(CanBind<typename table_t::iterator, B>) decltype(auto) getDynamicBinding()
{
static_assert(std::is_same_v<decltype(&(static_cast<B*>(this)->mColumnIterator)), std::decay_t<decltype(B::mColumnIterator)>*>, "foo");
return &(static_cast<B*>(this)->mColumnIterator);
//return static_cast<std::decay_t<decltype(B::mColumnIterator)>*>(nullptr);
// return static_cast<std::decay_t<decltype(B::mColumnIterator)>*>(nullptr);
}

template <typename B>
Expand Down

0 comments on commit ffbafd2

Please sign in to comment.