Inline my Vector Class functions

Started by
11 comments, last by iMalc 12 years, 7 months ago
A good way to figure out how a specific part of codes looks in assembler is to insert "assembler comments" around it.
for gcc this looks like:
[source]
asm volatile ("#begin mycode");
//normal c++ stuff
asm volatile ("#end mycode");
[/source]

you then can just search for "mycode" in the assembler file...
Advertisement
Cheers, nice little trick, thanks for the advice.

x

"To know the road ahead, ask those coming back."

I didn't even know that Visual Studio had something to create a class for you. To be honest, it's such a small thing that I would never use it. It probably takes less time to just type it out.

That explains why I've seen (void) from time to time.
"In order to understand recursion, you must first understand recursion."
My website dedicated to sorting algorithms

This topic is closed to new replies.

Advertisement