Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

C++: Added generic functions and made :: punctuation #2814

Merged
merged 4 commits into from
Apr 3, 2021

Conversation

RunDevelopment
Copy link
Member

This adds support for generic function invocations (e.g. std::make_unique<int>(4)).

I also changed the token type of double colon :: from operator to punctuation. I choose to do this because this token is very common and has similar semantics as a dot . in other languages.

@github-actions
Copy link

github-actions bot commented Mar 18, 2021

JS File Size Changes (gzipped)

A total of 1 files have changed, with a combined diff of +83 B (+7.5%).

file master pull size diff % diff
components/prism-cpp.min.js 1.11 KB 1.19 KB +83 B +7.5%

Generated by 🚫 dangerJS against 32e9c19

@RunDevelopment RunDevelopment merged commit 3df62fd into PrismJS:master Apr 3, 2021
@RunDevelopment RunDevelopment deleted the cpp-generic-functions branch April 3, 2021 09:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant