Skip to primary content
Skip to secondary content

Molecular Musings

Development blog of the Molecule Engine

Molecular Musings

Main menu

  • Home
  • About
  • Source code license

Tag Archives: reference to array

Subtle differences in C++

Posted on June 22, 2011 by Stefan Reinalter
6

Let’s start this post with a small C++ quiz. Consider the following class:

class Eater
{
public:
  template <size_t N>
  void Feed(const char (&str)[N]);

  void Feed(const char* str);
};

Continue reading →

Posted in C++ | Tagged C++, overload resolution, reference to array, string | 6 Replies

RSS

  • RSS - Posts
  • RSS - Comments

Contact

  • Molecular Matters
  • Facebook
  • LinkedIn
  • Twitter

Recent Posts

  • Live++ 1.0.0 released!
  • C++ programming tips
  • Deleting .pdb files locked by Visual Studio
  • Job System 2.0: Lock-Free Work Stealing – Part 5: Dependencies
  • Getting the type of a template argument as string – without RTTI

Recent Comments

Noah on Adventures in data-oriented de…
Matthias on Job System 2.0: Lock-Free Work…
[SOLVED] Is a memory… on Job System 2.0: Lock-Free Work…
yxriyin on Job System 2.0: Lock-Free Work…
Naive lock free work… on Job System 2.0: Lock-Free Work…

Categories

  • Asset pipeline (3)
  • C++ (31)
  • Core (32)
  • Editor (1)
  • Graphics (17)
  • Input (2)
  • Math (1)
  • Uncategorized (13)

Archive

  • March 2018 (1)
  • September 2017 (1)
  • May 2017 (1)
  • April 2016 (1)
  • December 2015 (1)
  • November 2015 (1)
  • September 2015 (2)
  • August 2015 (4)
  • February 2015 (1)
  • December 2014 (3)
  • November 2014 (2)
  • August 2014 (1)
  • May 2014 (1)
  • February 2014 (1)
  • January 2014 (1)
  • October 2013 (1)
  • August 2013 (2)
  • July 2013 (1)
  • May 2013 (3)
  • March 2013 (1)
  • February 2013 (1)
  • January 2013 (1)
  • December 2012 (1)
  • November 2012 (1)
  • October 2012 (2)
  • September 2012 (1)
  • August 2012 (2)
  • July 2012 (1)
  • June 2012 (1)
  • May 2012 (2)
  • April 2012 (3)
  • March 2012 (1)
  • January 2012 (1)
  • December 2011 (2)
  • November 2011 (4)
  • October 2011 (2)
  • September 2011 (6)
  • August 2011 (4)
  • July 2011 (6)
  • June 2011 (6)
Blog at WordPress.com.
  • Follow Following
    • Molecular Musings
    • Join 173 other followers
    • Already have a WordPress.com account? Log in now.
    • Molecular Musings
    • Customize
    • Follow Following
    • Sign up
    • Log in
    • Report this content
    • View site in Reader
    • Manage subscriptions
    • Collapse this bar