Marco Antonio J. Costa and majcosta
3cc3ade169
declare the table specialisations before anything instantiates one
...
TestTableTemplate declares SetRefresh and Init but never defines them; both
exist only as explicit specialisations, one set per table, at the bottom of
FacilityProduction.cpp and MilitiaWebsite.cpp.
That is too late for tables 3 and 4. Both files call SetRefresh on their
table hundreds of lines above the specialisation, and a call is a point of
instantiation, so the compiler has already committed to instantiating the
primary template by the time the specialisation shows up. A specialisation
declared after the first use that would instantiate it is ill-formed; MSVC
takes it anyway, clang-cl reports
error: explicit specialization of 'SetRefresh' after instantiation
Declaring the specialisations after the includes fixes it. Tables 1 and 2 are
only ever reached through the base class pointer, so they were not diagnosed,
but they are declared alongside the others rather than left to depend on that.
The definitions stay where they are.
2026-07-23 19:29:55 -03:00
..
2025-12-03 23:52:05 +02:00
2013-10-19 12:47:53 +00:00
2023-01-03 15:51:48 +02:00
2012-03-23 18:46:54 +00:00
2025-08-16 22:01:12 -03:00
2011-01-18 09:11:09 +00:00
2023-01-03 15:51:48 +02:00
2006-04-19 11:32:51 +00:00
2023-01-03 15:51:48 +02:00
2006-04-19 11:32:51 +00:00
2026-07-21 09:46:41 -03:00
2025-09-26 02:31:02 -03:00
2023-01-03 15:51:48 +02:00
2006-04-19 11:32:51 +00:00
2026-07-23 19:29:55 -03:00
2012-10-21 16:10:49 +00:00
2024-12-30 21:21:30 +02:00
2026-07-23 19:29:55 -03:00
2026-07-23 19:29:55 -03:00
2025-01-03 21:03:09 -03:00
2025-08-16 22:01:12 -03:00
2006-04-19 11:32:51 +00:00
2023-01-03 15:51:48 +02:00
2006-04-19 11:32:51 +00:00
2025-10-08 05:36:37 -03:00
2012-05-18 04:36:52 +00:00
2025-10-08 05:36:37 -03:00
2012-03-23 18:46:54 +00:00
2023-01-03 15:51:48 +02:00
2006-04-19 11:32:51 +00:00
2026-07-23 19:29:55 -03:00
2006-04-19 11:32:51 +00:00
2023-01-03 15:51:48 +02:00
2006-04-19 11:32:51 +00:00
2023-01-03 15:51:48 +02:00
2024-12-14 19:05:48 -03:00
2025-08-16 22:01:12 -03:00
2024-12-14 19:05:48 -03:00
2025-08-16 22:01:12 -03:00
2024-12-14 19:05:48 -03:00
2025-08-16 22:01:12 -03:00
2006-04-19 11:32:51 +00:00
2023-01-03 15:51:48 +02:00
2024-12-14 19:05:48 -03:00
2024-12-14 19:05:48 -03:00
2025-08-16 22:01:12 -03:00
2014-08-10 13:45:11 +00:00
2025-08-16 22:01:12 -03:00
2024-12-14 19:05:48 -03:00
2025-08-16 22:01:12 -03:00
2026-07-21 05:33:03 -03:00
2023-01-14 02:08:39 -03:00
2020-05-30 14:26:16 +00:00
2026-07-23 19:29:55 -03:00
2020-05-30 14:26:16 +00:00
2016-05-01 19:04:50 +00:00
2026-01-04 14:57:55 +02:00
2026-01-04 14:57:55 +02:00
2025-08-16 22:01:12 -03:00
2016-07-16 12:21:22 +00:00
2025-08-16 22:01:12 -03:00
2016-07-16 12:21:22 +00:00
2026-07-23 19:29:55 -03:00
2020-05-17 20:52:27 +00:00
2025-08-16 22:01:12 -03:00
2022-04-13 10:43:49 +00:00
2025-10-08 05:36:37 -03:00
2025-10-08 05:36:37 -03:00
2023-01-03 15:51:48 +02:00
2024-12-14 19:05:48 -03:00
2023-01-03 15:51:48 +02:00
2024-12-14 19:05:48 -03:00
2026-07-23 19:29:55 -03:00
2024-12-14 19:05:48 -03:00
2023-01-03 15:51:48 +02:00
2006-04-19 11:32:51 +00:00
2023-01-03 15:51:48 +02:00
2006-04-19 11:32:51 +00:00
2006-04-19 11:32:51 +00:00
2006-04-19 11:32:51 +00:00
2025-08-16 22:01:12 -03:00
2023-07-04 20:58:56 -07:00
2025-08-16 22:01:12 -03:00
2024-12-14 19:05:48 -03:00
2025-08-16 22:01:12 -03:00
2024-12-14 19:05:48 -03:00
2025-08-16 22:01:12 -03:00
2024-12-14 19:05:48 -03:00
2025-08-16 22:01:12 -03:00
2024-12-14 19:05:48 -03:00
2025-08-16 22:01:12 -03:00
2025-08-16 22:01:12 -03:00
2025-08-16 22:01:12 -03:00
2024-12-14 19:05:48 -03:00
2025-08-16 22:01:12 -03:00
2024-12-14 19:05:48 -03:00
2025-08-16 22:01:12 -03:00
2025-08-16 22:01:12 -03:00
2025-08-16 22:01:12 -03:00
2025-08-16 22:01:12 -03:00
2025-08-16 22:01:12 -03:00
2024-12-14 19:05:48 -03:00
2025-08-16 22:01:12 -03:00
2020-06-30 20:23:25 +00:00
2025-08-16 22:01:12 -03:00
2025-08-16 22:01:12 -03:00
2025-08-16 22:01:12 -03:00
2024-12-14 19:05:48 -03:00
2025-08-16 22:01:12 -03:00
2025-08-16 22:01:12 -03:00
2025-09-24 16:14:10 +03:00
2025-08-16 22:01:12 -03:00
2025-08-16 22:01:12 -03:00
2024-12-14 19:05:48 -03:00
2025-08-16 22:01:12 -03:00
2024-12-14 19:05:48 -03:00
2025-08-16 22:01:12 -03:00
2025-08-16 22:01:12 -03:00
2025-08-16 22:01:12 -03:00
2026-07-21 05:33:03 -03:00
2025-08-16 22:01:12 -03:00
2024-12-14 19:05:48 -03:00
2025-08-16 22:01:12 -03:00
2024-12-14 19:05:48 -03:00
2025-08-16 22:01:12 -03:00
2024-12-14 19:05:48 -03:00
2025-08-16 22:01:12 -03:00
2025-08-16 22:01:12 -03:00
2025-08-16 22:01:12 -03:00
2025-08-16 22:01:12 -03:00
2025-08-16 22:01:12 -03:00
2026-07-21 05:33:03 -03:00
2025-08-16 22:01:12 -03:00
2024-12-14 19:05:48 -03:00
2025-08-16 22:01:12 -03:00
2022-08-01 21:15:34 +00:00
2023-01-03 15:51:48 +02:00
2024-12-14 19:05:48 -03:00
2026-01-03 17:27:43 +02:00
2024-12-14 19:05:48 -03:00
2023-01-03 15:51:48 +02:00
2024-12-14 19:05:48 -03:00
2006-04-19 11:32:51 +00:00
2025-08-16 22:01:12 -03:00
2014-05-28 22:10:42 +00:00
2025-08-16 22:01:12 -03:00
2018-02-27 00:49:42 +00:00
2026-01-03 17:27:43 +02:00
2025-08-16 22:01:12 -03:00
2024-11-16 11:55:57 +02:00
2025-09-24 16:14:10 +03:00
2014-08-10 13:45:11 +00:00
2025-10-08 05:36:37 -03:00
2024-12-14 19:05:48 -03:00
2025-10-08 05:36:37 -03:00
2024-12-14 19:05:48 -03:00
2025-08-16 22:01:12 -03:00
2024-12-14 19:05:48 -03:00
2026-01-03 17:27:43 +02:00
2013-08-15 20:20:06 +00:00
2020-07-04 14:47:40 +00:00
2016-05-06 14:51:24 +00:00
2026-07-23 19:29:55 -03:00
2016-05-06 14:51:24 +00:00
2025-10-08 05:36:37 -03:00
2025-10-08 03:07:23 -03:00
2025-08-16 22:01:12 -03:00
2014-08-30 17:34:25 +00:00
2026-07-23 19:29:55 -03:00
2026-07-23 19:29:55 -03:00
2025-08-16 22:01:12 -03:00
2006-04-19 11:32:51 +00:00
2024-12-14 19:05:48 -03:00
2025-08-16 22:01:12 -03:00
2006-04-19 11:32:51 +00:00
2025-08-16 22:01:12 -03:00
2014-08-10 13:45:11 +00:00
2024-12-14 19:05:48 -03:00
2023-01-03 15:51:48 +02:00
2023-01-03 15:51:48 +02:00
2024-12-14 19:05:48 -03:00
2026-07-23 19:29:55 -03:00
2026-01-03 17:27:43 +02:00
2023-01-03 15:51:48 +02:00
2023-01-03 15:51:48 +02:00
2023-01-03 15:51:48 +02:00
2023-01-03 15:51:48 +02:00
2023-01-03 15:51:48 +02:00
2023-01-03 15:51:48 +02:00
2026-07-23 19:29:55 -03:00