Skip to content

Conversation

@firewave
Copy link
Collaborator

@firewave firewave commented Dec 4, 2025

No description provided.

@firewave firewave changed the title cleanups related to simplecpp::Macro construction and assignment cleaned up simplecpp::Macro construction and assignment Dec 4, 2025
@firewave firewave force-pushed the macro-emplace branch 2 times, most recently from 332bde6 to a431e1f Compare December 4, 2025 14:11
sizeOfType.insert(std::make_pair("float *", sizeof(float *)));
sizeOfType.insert(std::make_pair("double *", sizeof(double *)));
sizeOfType.insert(std::make_pair("long double *", sizeof(long double *)));
sizeOfType.emplace("char", sizeof(char));
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This block could be an init list, followed by sizeOfType.insert(rawtokens.sizeOfType.begin(), rawtokens.sizeOfType.end()).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants