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 non-default-constructible type lists used in TEMPLATE_LIST_TEST_CASE #1697

Merged

Conversation

BenjaminW3
Copy link
Contributor

std::tuple is not default constructible when the first type is not
default-constuctible. Therefore it can not be instantiated.
To circumvent this, we have to use std::declval in the unevaluate decltype
context.

std::tuple is not default constructible when the first type is not
default-constuctible. Therefore it can not be instantiated.
to circumvent this, we have to use std::declval in the unevaluate decltype
context.
@codecov
Copy link

codecov bot commented Jul 21, 2019

Codecov Report

Merging #1697 into master will decrease coverage by 2.27%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #1697      +/-   ##
==========================================
- Coverage   86.18%   83.91%   -2.27%     
==========================================
  Files         136      123      -13     
  Lines        5180     3405    -1775     
==========================================
- Hits         4464     2857    -1607     
+ Misses        716      548     -168

@codecov
Copy link

codecov bot commented Jul 21, 2019

Codecov Report

Merging #1697 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #1697   +/-   ##
=======================================
  Coverage   86.18%   86.18%           
=======================================
  Files         136      136           
  Lines        5180     5180           
=======================================
  Hits         4464     4464           
  Misses        716      716

@horenmar
Copy link
Member

Looks good, thanks.

@horenmar horenmar merged commit e7c26f0 into catchorg:master Jul 22, 2019
@BenjaminW3 BenjaminW3 deleted the topic-fix-non-default-constructible-types branch July 22, 2019 10:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants