Skip to content

No "Std-symbols.cpp" generated #1219

Open
@jingkecn

Description

@jingkecn
Brief Description

With a very simple class parsed in C++:

class my_class {
public:
  static std::string text = "some text."
}

No Std-symbols.cpp generated, BUT...

If we change the class member from a field to a method:

class my_class {
public:
  static std::string text() = "some text."
}

Then Std-symbols.cpp would be generated.

OS: Windows

Used headers
class my_class {
public:
  static std::string text = "some text."
}
Used settings

Target: MSVC/GCC/Clang

Other settings

Stack trace or incompilable generated code

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions