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

rttrorg / rttr / 226
92%
master: 92%

Build:
Build:
LAST BUILD BRANCH: vcpkg-instructions
DEFAULT BRANCH: master
Ran 01 May 2016 11:18AM UTC
Jobs 3
Files 130
Run time 1095073min
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

pending completion
226

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

4203 of 4570 relevant lines covered (91.97%)

2104.97 hits per line

Jobs
ID Job ID Ran Files Coverage
7 226.7 (COMPILER=g++-4.8 ARCH=x86 CONF=Debug GCOV_FLAGS='--coverage' UNIT_TESTS=true) 01 May 2016 11:18AM UTC 0
91.86
Travis Job 226.7
8 226.8 (COMPILER=g++-4.8 ARCH=x86_64 CONF=Debug GCOV_FLAGS='--coverage' UNIT_TESTS=true) 01 May 2016 11:21AM UTC 0
91.85
Travis Job 226.8
9 226.9 (COMPILER=g++-4.8 ARCH=x86 CONF=Debug VALGRIND=true UNIT_TESTS=true) 31 May 2018 10:32PM UTC 0
100.0
Travis Job 226.9
Source Files on build 226
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #226
  • 119151cc on github
  • Prev Build on fix_not_allowed_ctor_registration (#225)
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