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

rttrorg / rttr / 225
92%
master: 92%

Build:
Build:
LAST BUILD BRANCH: vcpkg-instructions
DEFAULT BRANCH: master
Ran 01 May 2016 10:15AM UTC
Jobs 2
Files 130
Run time 1min
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
225

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
    );

1 of 1 new or added line in 1 file covered. (100.0%)

4203 of 4570 relevant lines covered (91.97%)

2104.97 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
2
100.0
src/rttr/detail/registration/bind_impl.h
Jobs
ID Job ID Ran Files Coverage
7 225.7 (COMPILER=g++-4.8 ARCH=x86 CONF=Debug GCOV_FLAGS='--coverage' UNIT_TESTS=true) 01 May 2016 10:15AM UTC 0
91.86
Travis Job 225.7
8 225.8 (COMPILER=g++-4.8 ARCH=x86_64 CONF=Debug GCOV_FLAGS='--coverage' UNIT_TESTS=true) 01 May 2016 10:16AM UTC 0
91.85
Travis Job 225.8
Source Files on build 225
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #225
  • 9f18b873 on github
  • Prev Build on fix_not_allowed_ctor_registration (#222)
  • Next Build on fix_not_allowed_ctor_registration (#226)
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