MCPcopy Create free account
hub / github.com/ChaiScript/ChaiScript / operator*

Method operator*

unittests/catch.hpp:5691–5694  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5689 auto count() const -> size_t { return m_tokenBuffer.size() + (itEnd - it); }
5690
5691 auto operator*() const -> Token {
5692 assert( !m_tokenBuffer.empty() );
5693 return m_tokenBuffer.front();
5694 }
5695
5696 auto operator->() const -> Token const * {
5697 assert( !m_tokenBuffer.empty() );

Callers

nothing calls this directly

Calls 2

frontMethod · 0.80
emptyMethod · 0.45

Tested by

no test coverage detected