Function operator bool

Synopsis

#include <include/bean_ptr.h>

operator bool() const

Description

No description yet.

Source

Lines 92-95 in include/bean_ptr_impl.hpp. Line 59 in include/bean_ptr.h.

template<class C>
bean_ptr<C>::operator bool() const {
    return get_id()!=Database::NULL_ID;
}





Add Discussion as Guest

Log in