No announcements
Found 2717002 threads
-
0 Votes
return overloading in c++
I'd try asking for help over here. https://docs.microsoft.com/en-us/answers/topics/c++Answered | 2 Replies | 900 Views | Created by josh.bauer2020 - Saturday, November 21, 2020 10:50 AM | Last reply by - Saturday, November 21, 2020 10:41 PM -
0 Votes
Operator () overloading crashes C++ compiler (VS2008)
Hello everyone, Problem is with operator overloading. I tried to make a matrix container with access to it with ()-operator. The class I'm using it in ...Answered | 2 Replies | 3631 Views | Created by Jarkko Vartiainen - Tuesday, June 16, 2009 7:29 AM | Last reply by Jarkko Vartiainen - Tuesday, June 16, 2009 8:44 AM -
2 Votes
Member Overloading Guidelines
http://stackoverflow.com/questions/20705643/method-overloading-with-different-return-type-in-c-sharp If you have anything elseAnswered | 3 Replies | 415 Views | Created by Fariztech - Sunday, September 18, 2016 10:10 PM | Last reply by Fariztech - Monday, September 19, 2016 4:42 PM -
0 Votes
C++: Operator Overloading.
overload the double operator in this case. I read in the Effective C++ that there no value will be return as the overloaded function for this type ...Answered | 1 Replies | 5653 Views | Created by Sarath C - Tuesday, October 25, 2005 6:16 AM | Last reply by Martin Richter - Tuesday, October 25, 2005 9:47 AM -
0 Votes
changes of operator overloading in vc++2005
Riekey, in C++/CLI, you use the standard C++ operator overloading:ref struct R{ R(int x):i(x){} int i; static RAnswered | 1 Replies | 6098 Views | Created by Riekey - Friday, April 29, 2005 11:34 PM | Last reply by Andy Rich - Thursday, May 5, 2005 7:46 AM -
0 Votes
operator overloading and C4430
operator = (const MyClass& mc); and I am doing this in the header file class declaration of MyClass. I understand the solution is to give a return type, such as ...Answered | 1 Replies | 1432 Views | Created by msnhelpsme - Monday, April 9, 2012 9:17 PM | Last reply by Igor Tandetnik - Monday, April 9, 2012 9:21 PM -
1 Votes
Function overloading with restrict in C++ AMP and namespaces
So I read the article here http://blogs.msdn.com/b/nativeconcurrency/archive/2012/03/29/function-overloading-with-restrict-in-c-amp.aspx that was very ...Answered | 1 Replies | 3917 Views | Created by davidhunter22 - Sunday, October 21, 2012 6:36 PM | Last reply by Łukasz Mendakiewicz - Sunday, October 21, 2012 8:03 PM -
0 Votes
Is COM interface support method override?
Hi,COM does not support method overloading.In your case you could make the first parameter a VARIANT so you can investigate the type of the param at runtime. In your ...Answered | 3 Replies | 5063 Views | Created by Xie Guangzhuang - Thursday, July 28, 2005 12:25 AM | Last reply by SvenC - Wednesday, November 29, 2006 5:30 AM -
2 Votes
Problem with overloading of * operator
I have a template class. In it I am facing problem with overloading of * operator. In normal class overloading works but ...Answered | 4 Replies | 626 Views | Created by kha333n - Tuesday, August 20, 2019 3:10 PM | Last reply by kha333n - Wednesday, August 21, 2019 6:40 AM -
0 Votes
Why in overloading?
=' . why i force implementation 'Answered | 2 Replies | 528 Views | Created by Arash_89 - Tuesday, November 26, 2013 5:26 PM | Last reply by Christopher84 - Tuesday, November 26, 2013 9:10 PM -
0 Votes
overloading new linker troubles
parameter when overloading the new operator. I'm playing around with C++ code to see the different ways I can overload the new. I get a linker error ...Answered | 1 Replies | 3269 Views | Created by tester_abc - Friday, June 15, 2007 2:49 PM | Last reply by Holger Grund [MSFT] - Friday, June 15, 2007 3:09 PM -
0 Votes
operator = overloading
initialize my wrapper over int numbers but overloading in c++ gives error. HOW TO DO ...Unanswered | 1 Replies | 372 Views | Created by josh.bauer2020 - Tuesday, November 17, 2020 1:54 PM | Last reply by Kareninstructor - Tuesday, November 17, 2020 2:03 PM -
0 Votes
Problem with friend overloaded operators in Vicual C++ .NET 2003
I have a problem when overloading the operator <Answered | 1 Replies | 5980 Views | Created by Kerilk - Saturday, August 13, 2005 5:04 PM | Last reply by Ayman Shoukry - MSFT - Monday, August 15, 2005 4:50 PM -
0 Votes
operator overloading in C#
i have doubt on operator overloading in c#. whenever we define operator function,we must and should use static only like. public static ...Unanswered | 1 Replies | 2121 Views | Created by srinadh - Friday, March 30, 2012 3:31 PM | Last reply by SophiaParker - Friday, March 30, 2012 4:39 PM -
0 Votes
operator overloading =
Hi Igor and everyone Please have a look at the following program. In Line 10, I have operator overloading and ...Answered | 2 Replies | 494 Views | Created by chong kyong kim - Tuesday, September 30, 2014 12:04 PM | Last reply by Shu 2017 - Wednesday, October 1, 2014 1:53 AM -
3 Votes
Overloading = operator in C#
constructor. The question is: Does a more elegant way to do this exist? (I am thinking to how elegant is the operator = overloading in standard ...Answered | 3 Replies | 3923 Views | Created by devDept - Monday, September 15, 2008 7:16 AM | Last reply by devDept - Tuesday, September 16, 2008 7:45 AM -
1 Votes
Method overloading in C#.NET
hi in C#.NET you can change parameter and/or return type of a method for get overload of a method like ...Answered | 6 Replies | 3736 Views | Created by omanvilla - Sunday, December 4, 2011 8:31 AM | Last reply by Ehsan Mokhtari - Sunday, December 4, 2011 9:19 PM -
0 Votes
how overloading the '=' operator?
;(ostream &out, string &b) //output { out <Answered | 24 Replies | 2482 Views | Created by Cambalinho - Monday, September 16, 2013 4:43 PM | Last reply by Cambalinho - Friday, September 20, 2013 9:29 AM -
0 Votes
Function Overloading in vb.net 2008
Int32, ByVal b As Int32, ByVal c As Int32) As Int32 Return SumNum End Function this is okay for if you provide 1 or 2 or 3 ...Answered | 6 Replies | 1873 Views | Created by ArifMustafa - Monday, August 13, 2012 7:19 PM | Last reply by ArifMustafa - Monday, August 13, 2012 8:59 PM -
0 Votes
problem in operator > Overloading
(MetricStatistic const& rhs ) { return m_value > rhs.m_value; } David Wilkinson | Visual C++ MVPAnswered | 1 Replies | 4149 Views | Created by a-elnajjar82 - Saturday, October 11, 2008 1:11 AM | Last reply by davewilk - Saturday, October 11, 2008 3:00 AM - Items 1 to 20 of 2717002 Next ›
No announcements