-
Notifications
You must be signed in to change notification settings - Fork 82
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
[MISC] Adds new concept template_specialisation_of. #2263
[MISC] Adds new concept template_specialisation_of. #2263
Conversation
Did you talk with @smehringer about this? Or did you pick this yourself? |
1bd55d3
to
448b139
Compare
She gave me this issue. |
bcdb87d
to
56854fb
Compare
Codecov Report
@@ Coverage Diff @@
## master #2263 +/- ##
=======================================
Coverage 98.18% 98.18%
=======================================
Files 261 261
Lines 10820 10820
=======================================
Hits 10624 10624
Misses 196 196 Continue to review full report at Codecov.
|
I guess this is blocked by #2265. We should first do the move of See https://gist.github.com/rrahn/f6b09ad67bebd14bd9c58f77c53e0450 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Postponed until the header template_inspection.hpp was moved.
56854fb
to
a7ac1f5
Compare
a7ac1f5
to
be14ef5
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thank you
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just to tiny documentation things. After including them this can be merged.
* | ||
* \ingroup type_traits | ||
* | ||
* \tparam mytype The source type. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
* \tparam mytype The source type. | |
* \tparam mytype The query type. |
?
Source type somehow threw me off. Maybe query isn't the best alternative thought. The type to check
?
Source type sounds like I'm actually doing something with it or taking something from it to put somewhere else..
{ | ||
using my_type = std::vector<int>; | ||
|
||
if constexpr (seqan3::detail::template_specialisation_of<my_type, std::vector>) // std::vector has no <> ! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if constexpr (seqan3::detail::template_specialisation_of<my_type, std::vector>) // std::vector has no <> ! | |
if constexpr (seqan3::detail::template_specialisation_of<my_type, std::vector>) // Note: std::vector has no <> ! |
Signed-off-by: Lydia Buntrock <[email protected]>
be14ef5
to
32f602a
Compare
Resolves partly seqan/product_backlog#259