6namespace Stroika::Foundation::Database::SQL::Connection {
13 inline Ptr::Ptr (
const Ptr& src)
17 inline Ptr::Ptr (
const shared_ptr<IRep>& src)
21 inline Ptr& Ptr::operator= (
const Ptr& src)
28 inline Ptr& Ptr::operator= (Ptr&& src)
noexcept
31 _fRep = move (src._fRep);
35 inline IRep* Ptr::operator->() const noexcept
39 inline auto Ptr::operator== (
const Ptr& rhs)
const
41 return _fRep == rhs._fRep;
43 inline bool Ptr::operator== (nullptr_t)
const noexcept
45 return _fRep.get () ==
nullptr;
47 inline shared_ptr<const EngineProperties> Ptr::GetEngineProperties ()
const
49 return _fRep->GetEngineProperties ();
51 inline void Ptr::Exec (
const String& sql)
const
57 using namespace Characters;
58 return Format (
"{}"_f,
static_cast<const void*
> (_fRep.get ()));
String is like std::u32string, except it is much easier to use, often much more space efficient,...