SystemC  2.3.2
Accellera SystemC proof-of-concept library
sc_string_view.h File Reference

Non-owning, constant reference to a character string. More...

#include <sysc/kernel/sc_cmnhdr.h>
#include <sysc/packages/boost/utility/string_view.hpp>
Include dependency graph for sc_string_view.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  sc_core::sc_zstring_view
 non-owning, const-ref to null-terminated string (implementation-defined) More...
 

Namespaces

 sc_core
 

Macros

#define SC_STRING_VIEW_NS_   sc_boost
 

Typedefs

typedef SC_STRING_VIEW_NS_::string_view sc_core::sc_string_view
 non-owning, constant reference to a string (implementation-defined) More...
 

Detailed Description

Non-owning, constant reference to a character string.

Original Author: Philipp A Hartmann, Intel

Intended to follow C++ Library Fundamentals TS http://open-std.org/jtc1/sc22/wg21/docs/papers/2015/n4480.html#string.view

NOTE: The types sc_string_view and sc_zstring_view are implementation- defined and should not be used within user models. After C++17 is fully adopted, all uses shall be replaced by std::string_view.

Definition in file sc_string_view.h.

Macro Definition Documentation

◆ SC_STRING_VIEW_NS_

#define SC_STRING_VIEW_NS_   sc_boost

Definition at line 60 of file sc_string_view.h.