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

Fix implementation of *_REQUIRES_T() #40

Closed
19 tasks done
martinmoene opened this issue Mar 5, 2020 · 0 comments
Closed
19 tasks done

Fix implementation of *_REQUIRES_T() #40

martinmoene opened this issue Mar 5, 2020 · 0 comments

Comments

@martinmoene
Copy link
Owner

martinmoene commented Mar 5, 2020

See enable_if on CppReference.

Plan: Change to:

#define xxx_REQUIRES_T(...) \
    , typename std::enable_if< (__VA_ARGS__), int >::type = 0

Progress:

  • lest (NA)
  • any-lite
  • atomic-lite (no code yet)
  • byte-lite (NA)
  • expected-lite
  • gsl-lite: see PR 238
  • invoke-lite (NA)
  • observer-ptr-lite
  • optional-fun-lite (NA)
  • optional-bare (NA)
  • optional-lite
  • ring-span-lite
  • scope-guard-lite (no code yet)
  • span-lite
  • status-value-lite (NA)
  • string-view-lite (NA)
  • type-lite
  • value-ptr-lite
  • variant-lite
martinmoene added a commit to martinmoene/optional-lite that referenced this issue Mar 5, 2020
martinmoene added a commit to martinmoene/optional-lite that referenced this issue Mar 5, 2020
martinmoene added a commit to martinmoene/optional-lite that referenced this issue Mar 5, 2020
martinmoene added a commit to martinmoene/optional-lite that referenced this issue Mar 5, 2020
martinmoene added a commit to martinmoene/optional-lite that referenced this issue Mar 5, 2020
martinmoene added a commit to martinmoene/optional-lite that referenced this issue Mar 5, 2020
martinmoene added a commit to martinmoene/any-lite that referenced this issue Mar 6, 2020
martinmoene added a commit to martinmoene/expected-lite that referenced this issue Mar 6, 2020
martinmoene added a commit to martinmoene/observer-ptr-lite that referenced this issue Mar 6, 2020
martinmoene added a commit to gsl-lite/gsl-lite that referenced this issue Mar 6, 2020
martinmoene added a commit to martinmoene/ring-span-lite that referenced this issue Mar 6, 2020
martinmoene added a commit to martinmoene/span-lite that referenced this issue Mar 6, 2020
martinmoene added a commit to martinmoene/type-lite that referenced this issue Mar 6, 2020
martinmoene added a commit to martinmoene/value-ptr-lite that referenced this issue Mar 6, 2020
martinmoene added a commit to martinmoene/variant-lite that referenced this issue Mar 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant