fundoshi.hpp
A C++ library for multiple string instances with shared memory
 All Classes Namespaces Files Functions Typedefs Pages
fundoshi.hpp Documentation

fundoshi.hpp - A C++ library for multiple string instances with shared memory

メモリを共有したまま複数の文字列インスタンスを表現するためのC++ライブラリ

(C)2011- H.Hiro/Maraigue (mail: main at hhiro.net)

Important classes and methods

  • fundoshi::string describes an ordinary string (consisting of char) whose source memory is allocated with std::string, char * and so on.
  • fundoshi::wstring describes a wide-character string (consisting of wchar_t) whose source memory is allocated with std::wstring, wchar_t * and so on.
  • Strings of other character types can be described by fundoshi::basic_string<CHAR_TYPE> like std::basic_string<CHAR_TYPE>.
  • See the documentation for fundoshi::basic_string for the defined methods.
    • Methods and other APIs are almost the same as those in std::basic_string (std::string), although some methods are omitted.

重要なクラス・メソッド

  • fundoshi::stringは、std::stringchar *などにより確保されたメモリを元とする、charからなる普通の文字列 を表します。
  • fundoshi::wstringは、std::wstringwchar_t *などにより確保されたメモリを元とする、wchar_tからなるワイド文字列を表します。
  • これ以外の文字の種類に対する文字列は、fundoshi::basic_string<CHAR_TYPE>として表されます。std::basic_string<CHAR_TYPE>と同様です。
  • メソッドについてはfundoshi::basic_stringのドキュメントをご覧ください。
    • メソッドその他のAPIは、ほとんどstd::basic_stringstd::string)のものと同じです。ただし、実装されていないメソッドもあります。