Last active
March 8, 2023 20:43
-
-
Save IDisposable/5702227 to your computer and use it in GitHub Desktop.
It's another holy war!
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
template <class Religion_1, class Religion_2> | |
class Holy_War | |
{ | |
public: | |
Holy_War(const Religion_1::Dogma & IN_Side_1, const Religion_2::Dogma & IN_Side_2) | |
: M_Side_1(IN_Side_1), M_Side_2(IN_Side_2) | |
{} | |
const string & Heres_What_Side_1_Thinks(const string & IN_Side_1_Comments, const string & IN_Side_2_Comments) const | |
{ | |
return M_Side_1.Generate_Response(IN_Side_1_Comments); | |
} | |
const string & Heres_What_Side_2_Thinks(const string & IN_Side_1_Comments, const string & IN_Side_2_Comments) const | |
{ | |
return M_Side_2.Generate_Response(IN_Side_2_Comments); | |
} | |
private: | |
const Religion_1::Dogma M_Side_1; // Constant dogma 1. | |
const Religion_2::Dogma M_Side_2; // Constant dogma 2. | |
}; | |
--------------------- | |
Compiling... | |
Holy_War.cpp | |
(11) : warning C4100: 'IN_Side_2_Comments' : unreferenced formal parameter | |
(16) : warning C4100: 'IN_Side_1_Comments' : unreferenced formal parameter | |
Linking... | |
Creating browse info file... | |
Holy_War.exe - 0 error(s), 2 warning(s) | |
-------------------- |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
p.s. my first posting of this that I can find was Jun 4, 1998:
https://groups.yahoo.com/neo/groups/win_tech_off_topic/conversations/messages/33338