c++


Check if two instances of my class are equal using templates


I want to check if two instances of my class are equal(in C++), there are no pointers in the class. I understand that I would need to override the = operator and manually check all the fields. I am aware of that solution. The problem is that I have like around 100 members in the class, and I would want to do it for many classes of similar sizes.
My questions is if there is a way to templatize this? Is this possible? I am fine using velocity.

Related Links

How can i get ostream object from the descriptor of a standard output device? [duplicate]
Use key mapping only after specific characters
How to pass a .txt file as an argument for a function in a different cpp
SVM - How to use 3D point as an input in OpenCV
Qt is it possible to define a function pointer in place of a signal?
Using shared_ptr with char*
using c++ libraries in eclipse c++ project
Pthread code works fine in linux machine but not on windows using eclipse
C++ compiler ID vendor not found by cmake in plane c++ Qt creator Project on Ubuntu
Can't use base class template member function
How do I append data in columns?
attempting to reference a deleted function when passing by reference with a const member
Different between fragmented mp4 files generated by ffmpeg and by code
Unable to print stack items using OOP C++
Initialize static const member of a class, where the member is of a private type?
ambiguous overload C++ for operator = [closed]

Categories

HOME
solr
neural-network
qt5
google-maps-api-3
data-warehouse
knn
bitcoin
mongoose
mono
iis-8
gemfire
rpres
chapel
crc32
docbook
mit-scratch
webassembly
axon
firebreath
prefix
web-component
serenity-bdd
ajaxform
jquery-animate
file-permissions
robocopy
unimrcp
pki
silex
jsdata
apl
endpoints-proto-datastore
messagebox
uilabel
podcast
psftp
google-tv
apache-hive
interactive
r6
regedit
smtpclient
moa
retrieve-and-rank
roc
ffi
angular-chart
react-d3
bandwidth
javassist
mypy
shared-ptr
webpack-style-loader
android-build
topshelf
angularjs-service
vorlon
cscope
playstation
r.js
ldflags
python-wheel
sharepoint-userprofile
rouge
grape
yahoo-messenger
ionic-view
arrangeoverride
android-6.0.1
spsite
argo
jedit
stompjs
webots
msbuildcommunitytasks
ti-nspire
offsetheight
qubole
gstat
approximation
er-diagrams
geographical-information
android-view
kismet-wireless
uploadifive
spool
jml
resharper-plugins
bonsaijs
dav
android-handlerthread
n-tier
firstdata
teamcity-7.1
graphael
yepnope
ubuntu-13.04
android-3.0-honeycomb
filtered-lookup
perl-critic
cvxopt
maskedinput
aspnet-regiis.exe
slimv
jsonexception
ios5.1
ctime
dvorak
nested-queries
testdriven.net
abpeoplepickerview
codeigniter-datamapper
expandoobject
looper
django-generic-views
google-notebook

Resources

Encrypt Message



code
soft
python
ios
c
html
jquery
cloud
mobile