Skip to content

AnKi 3D Engine Dev Blog

  • Home
  • Media
  • Features
  • Source
  • Roadmap
  • Contact & Slack

Tag: boost

Posted on 16 Sep 20113 Mar 2015

C++ Class: Accessing contents but not the container

When constructing a C++ class a good practice is to never have any member variables in public scope and this includes containers. In this little article we will discuss how to have a C++ container as a private member and be able to expose its contents without exposing the container itself.

Continue reading “C++ Class: Accessing contents but not the container”

Twitter Feed

My Tweets

Recent Posts

  • Random thoughts after moving from GLSL to HLSL 9 Jan 2023
  • Porting AnKi to Android… again after ~8 years 3 Aug 2022
  • How to use debugPrintf in Vulkan 2 Jun 2021
  • Resource uniformity & bindless access in Vulkan 10 Nov 2020
  • Anatomy of a frame in AnKi 18 Jul 2019

Tags

  • Android
  • AnKi
  • boost
  • C++
  • fog
  • GLSL
  • graphics
  • HLSL
  • lens flare
  • Linux
  • multi-monitor
  • OpenGL
  • reflections
  • renderer
  • SDL
  • software engineering
  • SSAO
  • SSLR
  • SteamOS
  • texture
  • threads
  • video
  • volumetric
  • Vulkan
Proudly powered by WordPress