• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

mosra / magnum
78%
master: 20%

Build:
Build:
LAST BUILD BRANCH: culling-math
DEFAULT BRANCH: master
Repo Added 01 Aug 2016 09:34PM UTC
Files 4
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH optional
branch: optional
CHANGE BRANCH
x
Reset
  • optional
  • android
  • appveyor-angle
  • bezier
  • ci-updates
  • coverage
  • es-windows-desktop
  • es32
  • frustum
  • master
  • minmax-range
  • msvc2017
  • next
  • nv-xfb-dangling-workaround
  • openal-emscripten
  • python
  • trade-updates
  • travis
  • travis-sanitizers

pending completion
1084

push

travis-ci

mosra
Converting APIs returning std::optional to Containers::Optional.

And removing the bundled std::optional implementation. This finally
makes this library compatible with C++17. Since this would be a huge
backwards-incompatible change that would make everyone angry, the
following had to be done in case both CORRADE_BUILD_DEPRECATED and
MAGNUM_BUILD_DEPRECATED is defined:

 * Under C++11 and C++14, Containers::Optional / Containers::NullOpt is
   aliased to std::optional / std::nullopt. This is no worse than the
   state before, when we also provided these symbols.
 * Under C++17, where standard <optional> header is available,
   Containers::Optional provides implicit conversion to it. Only one-way
   conversion is supported, as there was fortunately no Magnum API that
   took std::optional via parameter, and there might be some corner
   cases that this doesn't cover. The goal is to have all examples
   compiling with the old API, at least.
 * There's a new test especially for this, which checks that both the
   C++11 and C++17 ways of doing things work as they should.

The typedef and conversion is marked as deprecated, so it will spit out
many warnings to push users to upgrade. I hope I can completely remove
this mess soon :/

5720 of 7376 relevant lines covered (77.55%)

437605.62 hits per line

Relevant lines Covered
Build:
Build:
7376 RELEVANT LINES 5720 COVERED LINES
437605.62 HITS PER LINE
Source Files on optional
Detailed source file information is not available for this build.

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
1084 optional Converting APIs returning std::optional to Containers::Optional. And removing the bundled std::optional implementation. This finally makes this library compatible with C++17. Since this would be a huge backwards-incompatible change that would mak... push 08 Jan 2018 11:18PM UTC mosra travis-ci pending completion  
See All Builds (483)
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc