Mercurial > hg > CbC > CbC_gcc
comparison gcc/go/gofrontend/string-dump.h @ 145:1830386684a0
gcc-9.2.0
author | anatofuz |
---|---|
date | Thu, 13 Feb 2020 11:34:05 +0900 |
parents | 04ced10e8804 |
children |
comparison
equal
deleted
inserted
replaced
131:84e7813d76e9 | 145:1830386684a0 |
---|---|
8 #define GO_STRING_DUMP_H | 8 #define GO_STRING_DUMP_H |
9 | 9 |
10 // This abstract class provides an interface strings for whatever purpose. | 10 // This abstract class provides an interface strings for whatever purpose. |
11 // Used for example for exporting and dumping objects. | 11 // Used for example for exporting and dumping objects. |
12 | 12 |
13 class String_dump | 13 class String_dump |
14 { | 14 { |
15 public: | 15 public: |
16 // Write a string. Implements the String_dump interface. | 16 // Write a string. Implements the String_dump interface. |
17 virtual void | 17 virtual void |
18 write_string(const std::string& s) = 0; | 18 write_string(const std::string& s) = 0; |