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 4 commits into from Apr 3, 2021


Copy link

@RunDevelopment RunDevelopment commented Mar 18, 2021

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.

Copy link

@github-actions 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
9 checks passed
@RunDevelopment RunDevelopment deleted the cpp-generic-functions branch Apr 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

1 participant