MESSAGE
DATE | 2016-11-08 |
FROM | Ruben Safir
|
SUBJECT | Subject: [Learn] C++ signature ambiguity
|
From learn-bounces-at-nylxs.com Tue Nov 8 14:45:54 2016 Return-Path: X-Original-To: archive-at-mrbrklyn.com Delivered-To: archive-at-mrbrklyn.com Received: from www.mrbrklyn.com (www.mrbrklyn.com [96.57.23.82]) by mrbrklyn.com (Postfix) with ESMTP id 03520161312; Tue, 8 Nov 2016 14:45:54 -0500 (EST) X-Original-To: learn-at-nylxs.com Delivered-To: learn-at-nylxs.com Received: from [10.0.0.62] (flatbush.mrbrklyn.com [10.0.0.62]) by mrbrklyn.com (Postfix) with ESMTP id 4EBAF160E77; Tue, 8 Nov 2016 14:45:51 -0500 (EST) To: learn-at-nylxs.com, Mohammed Ghriga From: Ruben Safir Message-ID: Date: Tue, 8 Nov 2016 14:45:51 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 Subject: [Learn] C++ signature ambiguity X-BeenThere: learn-at-nylxs.com X-Mailman-Version: 2.1.17 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: learn-bounces-at-nylxs.com Sender: "Learn"
I need to separate these two method signatures
#include #include #include "nodes.h" using namespace std;
int main(int argv, char ** argc) { tree::state a{"A", 65500}; tree::state c{"C", 0}; tree::state g{"G", 65500}; tree::state t{"T", 65500};
vector< tree::state > posible_states = {a,c,g,t};
tree::Pstates node_status{posible_states}; tree::NODE cr1{"T01", 3}; tree::NODE cl1{"T00",2}; // tree::NODE root{"T0",1};
// tree::NODE > cr1{"T01", 3}; // tree::NODE > cl1{"T00",2}; tree::NODE > root{"T0",node_status}; return 0; }
template class NODE{ public: //=========================LIFECYCLE========================================= /* Constructor */ NODE( std::string xt, unk &x , NODE *xcl= 0, NODE *xcr = 0, NODE *xp = 0 ); NODE( std::string xt, unk x , NODE *xcl= 0, NODE *xcr = 0, NODE *xp = 0 ); ~NODE();
I'm open to ideas
http://www.nylxs.com/docs/thesis/src/fitch/fitch.tgz is the code
-- So many immigrant groups have swept through our town that Brooklyn, like Atlantis, reaches mythological proportions in the mind of the world - RI Safir 1998 http://www.mrbrklyn.com
DRM is THEFT - We are the STAKEHOLDERS - RI Safir 2002 http://www.nylxs.com - Leadership Development in Free Software http://www2.mrbrklyn.com/resources - Unpublished Archive http://www.coinhangout.com - coins! http://www.brooklyn-living.com
Being so tracked is for FARM ANIMALS and and extermination camps, but incompatible with living as a free human being. -RI Safir 2013 _______________________________________________ Learn mailing list Learn-at-nylxs.com http://lists.mrbrklyn.com/mailman/listinfo/learn
|
|