lumiera_/research
Ichthyostega fa6ba76f85 investigate insidious ill-guided conversion
As it turns out, using the functional-notation form conversion
with *parentheses* will fall back on a C-style (wild, re-interpret) cast
when the target type is *not* a class. As in the case in question here, where
it is a const& to a class. To the contrary, using *curly braces* will always
attempt to go through a constructor, and thus fail as expected, when there is
no conversion path available.

I wasn't aware of that pitfall. I noticed it since the recently introduced
class TimelineGui lacked a conversion operator to BareEntryID const& and just
happily used the TimelineGui object itself and did a reinterpret_cast into BareEntryID
2018-10-12 23:42:56 +02:00
..
clang-static-init-1.cpp BUG: Clang shows a problem when accessing templated static variable through separate compilation units 2013-10-06 23:17:18 +02:00
clang-static-init-2.cpp bughunt: re-create the whole 2nd layer with a configurable product type --> HIT 2013-10-06 23:17:18 +02:00
clang-static-init.hpp BUG: Clang shows a problem when accessing templated static variable through separate compilation units 2013-10-06 23:17:18 +02:00
crash_gdb_jessie-2015-08.sh investigation: Segfault in GDB (IV) (related to #946) 2015-08-16 01:17:35 +02:00
DIR_INFO SCons: new build target for experimental code 2011-12-03 06:10:12 +01:00
gtk-canvas-experiment.cpp ...tidy.up: preserve the Gtk::Canvas experiment (see #1020) 2018-10-07 17:31:49 +02:00
gtk-canvas-experiment.hpp ...tidy.up: preserve the Gtk::Canvas experiment (see #1020) 2018-10-07 17:31:49 +02:00
gtk-canvas-main.cpp ...tidy.up: preserve the Gtk::Canvas experiment (see #1020) 2018-10-07 17:31:49 +02:00
SConscript ...tidy.up: prepare for working on the timeline display 2018-10-07 03:44:00 +02:00
try.cpp investigate insidious ill-guided conversion 2018-10-12 23:42:56 +02:00