boostorg / fusion

Boost.org fusion module

Home Page:http://boost.org/libs/fusion

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Potential non consistency in documentation

denzor200 opened this issue · comments

https://www.boost.org/doc/libs/1_77_0/libs/fusion/doc/html/fusion/container/generation/functions/tiers.html
This documentation said that a const reference cannot be as an element of some tier.
However, this examples compiles successfully:
https://godbolt.org/z/9b3jh48xv

Your code is correct and allowed. The documentation is misleading and should be fixed.

Fixed in develop branch