Mercurial > minori
view include/track/constants.h @ 150:ffa535b6d630
*: avoid usage of std::[pair,tuple]
https://arne-mertz.de/2017/03/smelly-pair-tuple/
it's better to use real structures and such where variables are easily known...
also apparently using [] on structs is actually valid? I had no idea.
author | Paper <mrpapersonic@gmail.com> |
---|---|
date | Tue, 14 Nov 2023 16:27:33 -0500 |
parents | 39521c47c7a3 |
children |
line wrap: on
line source
#ifndef __track__constants_h #define __track__constants_h #include <string> #include <vector> namespace Track { namespace Constants { extern const std::vector<std::string> default_media_extensions; extern const std::vector<std::string> default_media_players; } } #endif // __track__constants_h