Skip to content

Instantly share code, notes, and snippets.

@tgaurnier
tgaurnier / ReferenceList.hpp
Last active August 29, 2015 14:07
My implementation of a "QList of References", under the hood it stores pointers, but all of the methods recieve and return references.
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* ReferenceList.hpp *
* *
* Copyright 2014 Tory Gaurnier <tory.gaurnier@linuxmail.org> *
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU Lesser General Public License as published by *
* the Free Software Foundation; version 3. *
* *
* This program is distributed in the hope that it will be useful, *