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

Support C++14 #202

Merged
merged 1 commit into from
Oct 6, 2020
Merged

Support C++14 #202

merged 1 commit into from
Oct 6, 2020

Conversation

trevor-vincent
Copy link
Contributor

Context:
MSVC 2015 (v14) apparently doesn't implement some features of C++11 correctly. It would be nice to support C++11 fully and C++14.

Description of the Change:
Change build flags and CI flags to support C++14.

Benefits:
Supports C++14

Possible Drawbacks:
Unknown

Related GitHub Issues:

@codecov
Copy link

codecov bot commented Oct 5, 2020

Codecov Report

Merging #202 into powtrace_opt_cp11 will not change coverage.
The diff coverage is n/a.

@@                 Coverage Diff                 @@
##           powtrace_opt_cp11      #202   +/-   ##
===================================================
  Coverage             100.00%   100.00%           
===================================================
  Files                     20        20           
  Lines                   1131      1131           
===================================================
  Hits                    1131      1131           

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 b22a2e4...94f8a69. Read the comment docs.

@josh146 josh146 changed the base branch from master to powtrace_opt_cp11 October 5, 2020 18:39
@nquesada nquesada merged commit 52f4d25 into powtrace_opt_cp11 Oct 6, 2020
trevor-vincent added a commit that referenced this pull request Oct 19, 2020
* Add power trace optimization conforming to c++11

* include type_traits in the hope it solves MSVC prob

* Fix typo

* Apply astyle to eigenvalue_hafnian.hpp

* Update include/eigenvalue_hafnian.hpp

* Removes whitespaces

* Using quad (#201)

* First attempt. Failed

* It works!

* Fixes conversion issues

* updates docstring

* updates changelog

* First attempt at MSVC2017 (#202)

* Apply suggestions from code review

* add docs

* lower sphinx version

* Update setup.py

Co-authored-by: Nicolas Quesada <zeitus@gmail.com>
Co-authored-by: Josh Izaac <josh146@gmail.com>
thisac pushed a commit that referenced this pull request Oct 20, 2020
* Add power trace optimization conforming to c++11

* include type_traits in the hope it solves MSVC prob

* Fix typo

* Apply astyle to eigenvalue_hafnian.hpp

* Update include/eigenvalue_hafnian.hpp

* Removes whitespaces

* Using quad (#201)

* First attempt. Failed

* It works!

* Fixes conversion issues

* updates docstring

* updates changelog

* First attempt at MSVC2017 (#202)

* Apply suggestions from code review

* Adds C++ branching for loop hafnians in quad of odd size

* Update setup.py

* Adds tests for missing functality

* Adds tests for missing functionality

Co-authored-by: Trevor Vincent <tvincent@cita.utoronto.ca>
Co-authored-by: Trevor Vincent <trevor-vincent@users.noreply.github.com>
Co-authored-by: Josh Izaac <josh146@gmail.com>
@trevor-vincent trevor-vincent deleted the support_cpp14 branch October 29, 2020 21:59
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