cxx: Add define EFL_CXXPERIMENTAL for testing
authorJean-Philippe Andre <jp.andre@samsung.com>
Wed, 22 Nov 2017 08:17:04 +0000 (17:17 +0900)
committerJean-Philippe Andre <jp.andre@samsung.com>
Tue, 5 Dec 2017 01:14:03 +0000 (10:14 +0900)
commit753304c69d27a5303e742dffaaff6f6230c3211b
tree89817211f34ec95915863f24857da916db02fb45
parent425d8db90f9b67ab9645216a71bbba651cc54732
cxx: Add define EFL_CXXPERIMENTAL for testing

I'll hide some controversial features behind this, until we come to an
agreement with @felipealmeida and people who actually know C++ (iow: not
just me^^).

Features protected:
 - easy wref (using -> without locking)
 - xxx_event_cb_add() functions in object classes
 - instantiate(obj) to create a new object
 - add as a synonym for instantiate (both in efl::eo)
src/bindings/cxx/eo_cxx/eo_concrete.hh
src/bindings/cxx/eo_cxx/eo_wref.hh
src/examples/elementary/bg_cxx_example_02.cc
src/examples/elementary/button_cxx_example_00.cc
src/examples/elementary/button_cxx_example_01.cc
src/examples/elementary/calendar_cxx_example_02.cc
src/examples/elementary/radio_cxx_example_01.cc
src/lib/eolian_cxx/grammar/class_definition.hpp