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

rttrorg / rttr / 226 / 9
92%
master: 92%

Build:
Build:
LAST BUILD BRANCH: vcpkg-instructions
DEFAULT BRANCH: master
Ran 31 May 2018 10:32PM UTC
Files 23
Run time 4s
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

01 May 2016 11:11AM UTC coverage: 100.0%. First build
COMPILER=g++-4.8 ARCH=x86 CONF=Debug VALGRIND=true UNIT_TESTS=true

push

travis-ci

acki-m
ATTENTION!: Replaced default constructor binding from "as_object" to "as_std_shared_ptr".

This might break some code silently!
Without this change it is not possible to register a constructor
from a class which has a deleted or private copy constructor.

This change will allow now the registration of these kind of classes.

shared_ptr is a valid choice because it has automatic memory management.
Its better here to be explicit and have one rule, instead of doing some hidden magic for this case.

To have the old binding behaviour back, add the policy: 'policy::ctor::as_object'
to every constructor
registration::class_<MyStruct>("MyStruct")
    .constructor<>()
    (
        policy::ctor::as_object
    );

Remark:
When you want to real type of the created instance in the variant, use 'type::get_wrapped_type()'

This will fix issue #14

24 of 24 branches covered (100.0%)

353 of 353 relevant lines covered (100.0%)

1.0 hits per line

Source Files on job 226.9 (COMPILER=g++-4.8 ARCH=x86 CONF=Debug VALGRIND=true UNIT_TESTS=true)
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 226
  • Travis Job 226.9
  • 119151cc 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