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

mosra / magnum / 1085 / 1
20%
master: 20%

Build:
DEFAULT BRANCH: master
Ran 09 Jan 2018 08:52AM UTC
Files 325
Run time 10s
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

08 Jan 2018 11:09PM UTC coverage: 77.549%. Remained the same
JOBID=linux-desktop TARGET=desktop

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

Source Files on job 1085.1 (JOBID=linux-desktop TARGET=desktop)
  • Tree
  • List 0
  • Changed 11
  • Source Changed 11
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 1085
  • Travis Job 1085.1
  • 79987002 on github
  • Prev Job for JOBID=linux-desktop TARGET=desktop on master (#1080.1)
  • Next Job for JOBID=linux-desktop TARGET=desktop on master (#1086.1)
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