Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

meta: fix is_compatible/constructible traits #3020

Merged
merged 1 commit into from
Oct 7, 2021

Commits on Sep 28, 2021

  1. meta: fix is_compatible/constructible traits

    The previous version relied on the existence of an 'iterator' type.
    
    As mentioned in comments, this is not the proper way to do it and
    causes issues with certain types (e.g. views from range-v3).
    
    Add a 'is_range' trait that properly detects the return type of
    'begin'/'end', and use it in instead.
    theodelrieu committed Sep 28, 2021
    Configuration menu
    Copy the full SHA
    7b2d591 View commit details
    Browse the repository at this point in the history