You are viewing a single thread.
View all comments View context
5 points

Yep, first thing that comes to mind is that header only classes need to use inline functions.

permalink
report
parent
reply
5 points
*

Member functions that are defined within a class definition are implicitly inline

permalink
report
parent
reply
3 points

Ah I see now that I mixed it up with classless functions in a header.

permalink
report
parent
reply

Programmer Humor

!programmerhumor@lemmy.ml

Create post

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

  • Posts must be relevant to programming, programmers, or computer science.
  • No NSFW content.
  • Jokes must be in good taste. No hate speech, bigotry, etc.

Community stats

  • 3.6K

    Monthly active users

  • 1.5K

    Posts

  • 35K

    Comments