Last active
November 2, 2025 15:29
-
-
Save eyelash/14ff067a731ae5b8787a60652ebe601e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| void foo(void (*a)(bool, bool), int b, int c, int d, int e) { | |
| a(b<c,d>(e)); | |
| } | |
| template <int, int> int b(int) { return 0; } | |
| template <int c, int d> void foo(void (*a)(int), int e) { | |
| a(b<c,d>(e)); | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| int b<c, d>(int e) => 0; | |
| void foo<c, d>(Function(int) a, int e) { | |
| a(b<c,d>(e)); | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class Foo { | |
| static void a(boolean bc, boolean de) {} | |
| static void foo(int b, int c, int d, int e) { | |
| a(b<c,d>(e)); | |
| } | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| fun <c, d> b(e: Int): Int = 0 | |
| fun <c, d> foo(a: (Int) -> Unit, e: Int) { | |
| a(b<c,d>(e)) | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function b<c, d>(e: number): number { return 0; } | |
| function foo<c, d>(a: (b: number) => void, e: number) { | |
| a(b<c,d>(e)); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment