From 73ad680ed23f12e20c5a952b4815fa1791b2e2bd Mon Sep 17 00:00:00 2001 From: Brendan Dougherty Date: Mon, 10 Jul 2023 12:27:37 -0500 Subject: [PATCH] Add example of template instantiation comparison. --- LEGO1/mxnotificationmanager.cpp | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/LEGO1/mxnotificationmanager.cpp b/LEGO1/mxnotificationmanager.cpp index 472c87b5..82ccbf30 100644 --- a/LEGO1/mxnotificationmanager.cpp +++ b/LEGO1/mxnotificationmanager.cpp @@ -1,5 +1,16 @@ #include "mxnotificationmanager.h" +// OFFSET: LEGO1 0x100ac320 TEMPLATE +// list >::~list > + +// FIXME: Example of template compare functionality, remove before merging. +#include +#include +void make_a_list() { + List l; + cout << l.size(); +} + // OFFSET: LEGO1 0x100ac450 STUB MxNotificationManager::~MxNotificationManager() { @@ -12,4 +23,4 @@ MxLong MxNotificationManager::Tickle() // TODO return 0; -} \ No newline at end of file +}