mirror of
https://github.com/Noratrieb/womangling.git
synced 2026-05-13 11:32:54 +02:00
This commit is contained in:
parent
aa9ed79163
commit
3d80f5896e
7 changed files with 25 additions and 25 deletions
|
|
@ -7,7 +7,7 @@
|
|||
<title>Womangling</title>
|
||||
</head>
|
||||
<body>
|
||||
<main class="main">
|
||||
<main>
|
||||
<div class="content" id="content-area">
|
||||
<h1>
|
||||
<a class="root-link" href=".">Learn C++ Itanium Symbol Mangling</a>
|
||||
|
|
@ -85,7 +85,7 @@ void a(int x, int *y, double &z) {}
|
|||
<code>int*</code> (<code>Pi</code>), and a
|
||||
<code>double&</code> (<code>Rd</code>).
|
||||
</p>
|
||||
<div class="quiz-section">
|
||||
<quiz-section>
|
||||
<p>What is the mangled symbol of the following function?</p>
|
||||
<pre class="code">
|
||||
void hello(int **programmer, long day, float &r) {}
|
||||
|
|
@ -102,7 +102,7 @@ void hello(int **programmer, long day, float &r) {}
|
|||
</button>
|
||||
<div class="error"></div>
|
||||
</form>
|
||||
</div>
|
||||
</quiz-section>
|
||||
</section>
|
||||
<section data-step="1" class="step">
|
||||
<p>
|
||||
|
|
@ -115,7 +115,7 @@ namespace outer::inner {
|
|||
}
|
||||
</pre>
|
||||
<p>This will be mangled as <code>_ZN5outer5inner3yesEiiRl</code></p>
|
||||
<div class="quiz-section">
|
||||
<quiz-section>
|
||||
<p>What is the mangled symbol of the following function?</p>
|
||||
<pre class="code">
|
||||
namespace very::much::nested {
|
||||
|
|
@ -137,7 +137,7 @@ namespace very::much::nested {
|
|||
</button>
|
||||
<div class="error"></div>
|
||||
</form>
|
||||
</div>
|
||||
</quiz-section>
|
||||
</section>
|
||||
<section data-step="2" class="step">
|
||||
<p>Let's look at a few more common types.</p>
|
||||
|
|
@ -155,7 +155,7 @@ namespace very::much::nested {
|
|||
In the future there might be a part of the website where you can
|
||||
memorize these encodings more easily.
|
||||
</p>
|
||||
<div class="quiz-section">
|
||||
<quiz-section>
|
||||
<p>What is the mangled symbol of the following function?</p>
|
||||
<pre class="code">
|
||||
void name(unsigned long long a, unsigned short b, char c, int d) {}
|
||||
|
|
@ -175,7 +175,7 @@ void name(unsigned long long a, unsigned short b, char c, int d) {}
|
|||
</button>
|
||||
<div class="error"></div>
|
||||
</form>
|
||||
</div>
|
||||
</quiz-section>
|
||||
</section>
|
||||
|
||||
<section data-step="3" class="step">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue