tzlaine / parser

A C++ parser combinator library.
Boost Software License 1.0
81 stars 12 forks source link

error: friend declaration with a constraint that depends on an enclosing template parameter must be a definition #169

Closed intractabilis closed 1 day ago

intractabilis commented 5 months ago

https://github.com/tzlaine/parser/blob/4cea9c03d6baf8165a21162e66be4f99ec85b529/include/boost/parser/detail/text/transcode_view.hpp#L178 Clang 18.1.4 with -std=gnu++23 complains here that this friend function must be defined, not just declared. It seems correct according to 13.7.5 Friends.

tzlaine commented 1 day ago

Thanks for reporting this!

intractabilis commented 1 day ago

My pleasure. Great job with this library!