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

Add classification type traits #286

Merged
merged 5 commits into from
Jul 30, 2019

Conversation

phlptp
Copy link
Collaborator

@phlptp phlptp commented May 31, 2019

Try to clean up the SFINAE used for the internal lexical cast. Define a classify_object type trait that categorizes types into a number of different categories, then the lexical_cast functions use that trait for distinguishing how to do the conversions.

The main changes in this on are in TypeTools.hpp

@phlptp phlptp mentioned this pull request Jun 2, 2019
@phlptp phlptp force-pushed the add_classification_type_traits branch from ebbeeca to cea28dc Compare July 29, 2019 13:03
@codecov
Copy link

codecov bot commented Jul 29, 2019

Codecov Report

Merging #286 into master will not change coverage.
The diff coverage is 100%.

Impacted file tree graph

@@          Coverage Diff          @@
##           master   #286   +/-   ##
=====================================
  Coverage     100%   100%           
=====================================
  Files          12     12           
  Lines        2935   2939    +4     
=====================================
+ Hits         2935   2939    +4
Impacted Files Coverage Δ
include/CLI/Option.hpp 100% <ø> (ø) ⬆️
include/CLI/TypeTools.hpp 100% <100%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ba7aac9...cea28dc. Read the comment docs.

@codecov
Copy link

codecov bot commented Jul 29, 2019

Codecov Report

Merging #286 into master will not change coverage.
The diff coverage is 100%.

Impacted file tree graph

@@          Coverage Diff          @@
##           master   #286   +/-   ##
=====================================
  Coverage     100%   100%           
=====================================
  Files          12     12           
  Lines        2935   2939    +4     
=====================================
+ Hits         2935   2939    +4
Impacted Files Coverage Δ
include/CLI/Option.hpp 100% <ø> (ø) ⬆️
include/CLI/App.hpp 100% <100%> (ø) ⬆️
include/CLI/TypeTools.hpp 100% <100%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ba7aac9...07e22d2. Read the comment docs.

@phlptp phlptp marked this pull request as ready for review July 29, 2019 13:19
@henryiii henryiii merged commit 17ddce2 into CLIUtils:master Jul 30, 2019
@henryiii henryiii deleted the add_classification_type_traits branch July 30, 2019 13:46
@henryiii henryiii added this to the v1.9 milestone Dec 31, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants