decimad / luabind-deboostified

Create Lua bindings for your C++ code easily - my improvements
http://www.vrac.iastate.edu/vancegroup/docs/luabind/
Other
71 stars 26 forks source link

test_implicit_cast.cpp test fails #33

Open Wohlstand opened 7 years ago

Wohlstand commented 7 years ago

This unit test fails on:

void not_convertable(std::shared_ptr<A>)
{
    TEST_CHECK(false); //<----  Here!
}

But:

    // This test fails because shared_ptr-converter is broken.
    DOSTRING_EXPECTED(L,
        "a = A()\n"
        "no_convert(a)",
        ("No matching overload found, candidates:\n"
        "void no_convert(custom ["
        + std::string(typeid(std::shared_ptr<A>).name()) + "])").c_str());

Any suggestion to fix this (aka, complete this unfinished unit test)? Or just skip this step until shared_ptr converter will be fixed