Passing a pointer to object - using template - followup.
-
ADDENDUM I just went thru few "RTFM" - I am NOT asking how to build a template class - I am asking how to pass template object / variable to existing object. As usual , my "simple question" has turned into sermons and RTFM. As a result I realized I was correct initially asking for "replacing the this pointer", however it was obviously my fault (!) that I did not provide enough information to get real solution. So here is my latest attempt to resolve it and I sill need some real help , no RTFM PLEASE. I decided to pass only part of the data - QList - and got this far - partial constructor solution.
explicit Form_SetupLocalAdapter(QList <*data_list>);
However , I am getting this error and have no clue how to fix it - hence I am posting my request on this forum and - asking for solution.
/mnt/07b7c3f8-0efb-45ab-8df8-2a468771de1f/PROJECTS/RECOVERY/BLUETOOTH/SOURCE/CCC_SOURCE/terminal_SERIAL_BLUETOOTH_VER_1/terminal_SERIAL_BLUETOOTH/terminal_BLUETOOTH/form_setuplocaladapter.h:17: error: use of undeclared identifier 'data_list'
In file included from form_setuplocaladapter.cpp:1:
./form_setuplocaladapter.h:17:44: error: use of undeclared identifier 'data_list'
explicit Form_SetupLocalAdapter(QList <*data_list>);
^So - to make sure - I am asking how to resolve
undeclared identifier 'data_list'
I am not asking for sermon or RTFM ( got it ?) PPS I have never used template and obviously do not have a clue.( Yes, my fault - again...)
-
ADDENDUM I just went thru few "RTFM" - I am NOT asking how to build a template class - I am asking how to pass template object / variable to existing object. As usual , my "simple question" has turned into sermons and RTFM. As a result I realized I was correct initially asking for "replacing the this pointer", however it was obviously my fault (!) that I did not provide enough information to get real solution. So here is my latest attempt to resolve it and I sill need some real help , no RTFM PLEASE. I decided to pass only part of the data - QList - and got this far - partial constructor solution.
explicit Form_SetupLocalAdapter(QList <*data_list>);
However , I am getting this error and have no clue how to fix it - hence I am posting my request on this forum and - asking for solution.
/mnt/07b7c3f8-0efb-45ab-8df8-2a468771de1f/PROJECTS/RECOVERY/BLUETOOTH/SOURCE/CCC_SOURCE/terminal_SERIAL_BLUETOOTH_VER_1/terminal_SERIAL_BLUETOOTH/terminal_BLUETOOTH/form_setuplocaladapter.h:17: error: use of undeclared identifier 'data_list'
In file included from form_setuplocaladapter.cpp:1:
./form_setuplocaladapter.h:17:44: error: use of undeclared identifier 'data_list'
explicit Form_SetupLocalAdapter(QList <*data_list>);
^So - to make sure - I am asking how to resolve
undeclared identifier 'data_list'
I am not asking for sermon or RTFM ( got it ?) PPS I have never used template and obviously do not have a clue.( Yes, my fault - again...)
The part in
<>
should be a type and the compiler is complaining that it doesn't know whatdata_list
is. If it is a type, make sure you include the correct header so that it can be found. If what you actually meant was fordata_list
to be the name of the function argument, it should be more like this:explicit Form_SetupLocalAdapter(QList<*DataListType> data_list);
- replacing
DataListType
with the type (or base type) ofdata_list
. -
ADDENDUM I just went thru few "RTFM" - I am NOT asking how to build a template class - I am asking how to pass template object / variable to existing object. As usual , my "simple question" has turned into sermons and RTFM. As a result I realized I was correct initially asking for "replacing the this pointer", however it was obviously my fault (!) that I did not provide enough information to get real solution. So here is my latest attempt to resolve it and I sill need some real help , no RTFM PLEASE. I decided to pass only part of the data - QList - and got this far - partial constructor solution.
explicit Form_SetupLocalAdapter(QList <*data_list>);
However , I am getting this error and have no clue how to fix it - hence I am posting my request on this forum and - asking for solution.
/mnt/07b7c3f8-0efb-45ab-8df8-2a468771de1f/PROJECTS/RECOVERY/BLUETOOTH/SOURCE/CCC_SOURCE/terminal_SERIAL_BLUETOOTH_VER_1/terminal_SERIAL_BLUETOOTH/terminal_BLUETOOTH/form_setuplocaladapter.h:17: error: use of undeclared identifier 'data_list'
In file included from form_setuplocaladapter.cpp:1:
./form_setuplocaladapter.h:17:44: error: use of undeclared identifier 'data_list'
explicit Form_SetupLocalAdapter(QList <*data_list>);
^So - to make sure - I am asking how to resolve
undeclared identifier 'data_list'
I am not asking for sermon or RTFM ( got it ?) PPS I have never used template and obviously do not have a clue.( Yes, my fault - again...)
-
ADDENDUM I just went thru few "RTFM" - I am NOT asking how to build a template class - I am asking how to pass template object / variable to existing object. As usual , my "simple question" has turned into sermons and RTFM. As a result I realized I was correct initially asking for "replacing the this pointer", however it was obviously my fault (!) that I did not provide enough information to get real solution. So here is my latest attempt to resolve it and I sill need some real help , no RTFM PLEASE. I decided to pass only part of the data - QList - and got this far - partial constructor solution.
explicit Form_SetupLocalAdapter(QList <*data_list>);
However , I am getting this error and have no clue how to fix it - hence I am posting my request on this forum and - asking for solution.
/mnt/07b7c3f8-0efb-45ab-8df8-2a468771de1f/PROJECTS/RECOVERY/BLUETOOTH/SOURCE/CCC_SOURCE/terminal_SERIAL_BLUETOOTH_VER_1/terminal_SERIAL_BLUETOOTH/terminal_BLUETOOTH/form_setuplocaladapter.h:17: error: use of undeclared identifier 'data_list'
In file included from form_setuplocaladapter.cpp:1:
./form_setuplocaladapter.h:17:44: error: use of undeclared identifier 'data_list'
explicit Form_SetupLocalAdapter(QList <*data_list>);
^So - to make sure - I am asking how to resolve
undeclared identifier 'data_list'
I am not asking for sermon or RTFM ( got it ?) PPS I have never used template and obviously do not have a clue.( Yes, my fault - again...)
-
ADDENDUM I just went thru few "RTFM" - I am NOT asking how to build a template class - I am asking how to pass template object / variable to existing object. As usual , my "simple question" has turned into sermons and RTFM. As a result I realized I was correct initially asking for "replacing the this pointer", however it was obviously my fault (!) that I did not provide enough information to get real solution. So here is my latest attempt to resolve it and I sill need some real help , no RTFM PLEASE. I decided to pass only part of the data - QList - and got this far - partial constructor solution.
explicit Form_SetupLocalAdapter(QList <*data_list>);
However , I am getting this error and have no clue how to fix it - hence I am posting my request on this forum and - asking for solution.
/mnt/07b7c3f8-0efb-45ab-8df8-2a468771de1f/PROJECTS/RECOVERY/BLUETOOTH/SOURCE/CCC_SOURCE/terminal_SERIAL_BLUETOOTH_VER_1/terminal_SERIAL_BLUETOOTH/terminal_BLUETOOTH/form_setuplocaladapter.h:17: error: use of undeclared identifier 'data_list'
In file included from form_setuplocaladapter.cpp:1:
./form_setuplocaladapter.h:17:44: error: use of undeclared identifier 'data_list'
explicit Form_SetupLocalAdapter(QList <*data_list>);
^So - to make sure - I am asking how to resolve
undeclared identifier 'data_list'
I am not asking for sermon or RTFM ( got it ?) PPS I have never used template and obviously do not have a clue.( Yes, my fault - again...)
Member 14968771 wrote:
So here is my latest attempt to resolve it and I sill need some real help , no RTFM PLEASE.
Just noting that many years ago I would spend time on a specific forum for the Perl language. One of the leading authorities and author/co-author of a number of books would attend. And his answers often were RTFM and sometimes (or often) ranting about it quite a bit. So not much you can do about complaining about the quality or type of answers that you get. Although you might want to point out in any such question, explicitly, that you already did do some research but you did not find anything that actually answered the question. That might stop such answers.
-
Member 14968771 wrote:
So here is my latest attempt to resolve it and I sill need some real help , no RTFM PLEASE.
Just noting that many years ago I would spend time on a specific forum for the Perl language. One of the leading authorities and author/co-author of a number of books would attend. And his answers often were RTFM and sometimes (or often) ranting about it quite a bit. So not much you can do about complaining about the quality or type of answers that you get. Although you might want to point out in any such question, explicitly, that you already did do some research but you did not find anything that actually answered the question. That might stop such answers.
I do appreciate your comments, unfortunately my experience is that folks who continually reply with "RTFM" are immune to any suggestions / request to stop such behavior , mainly because they choose not to read such request. Such "contributors" may have technical knowledge , but choose NOT to share it. I also feel ( have an opinion) that majority of "RTFM" posts are posted just to add to count of " posted xyz number of posts". Some people are easy to impress with statistics... Cheers - back to coding...
-
I do appreciate your comments, unfortunately my experience is that folks who continually reply with "RTFM" are immune to any suggestions / request to stop such behavior , mainly because they choose not to read such request. Such "contributors" may have technical knowledge , but choose NOT to share it. I also feel ( have an opinion) that majority of "RTFM" posts are posted just to add to count of " posted xyz number of posts". Some people are easy to impress with statistics... Cheers - back to coding...
Member 14968771 wrote:
folks who continually reply with "RTFM" are immune to any suggestions / request to stop such behavior
That may be because that is the best answer. It is up to you to demonstrate that you have actually read what was recommended. The above question and its predecessor are two cases in point, where the answer was simply to read the documentation.
-
I do appreciate your comments, unfortunately my experience is that folks who continually reply with "RTFM" are immune to any suggestions / request to stop such behavior , mainly because they choose not to read such request. Such "contributors" may have technical knowledge , but choose NOT to share it. I also feel ( have an opinion) that majority of "RTFM" posts are posted just to add to count of " posted xyz number of posts". Some people are easy to impress with statistics... Cheers - back to coding...
To add to Richard's comments about the manual. Very often the manual, or the resource suggested (e.g. cppreference.com) has a clearer and more accurate description of what's going on than the respondent could give "from scratch", as it were. If you've actually read the manual and/or consulted the suggested resource and don't understand the description given, you might be a bit more explicit about that. Which question would you be more likely to respond to? I have a problem with widgets. Don't tell me to RTFM. I need an answer! or: I'm looking at the manual for widgets and it says blah. I don't understand the part about
bippity-bah
, and my google-fu has failed me. Doesbippty-bah
mean that a widget needs to be frobincated, or does it do that when it's constructed?Keep Calm and Carry On
-
I do appreciate your comments, unfortunately my experience is that folks who continually reply with "RTFM" are immune to any suggestions / request to stop such behavior , mainly because they choose not to read such request. Such "contributors" may have technical knowledge , but choose NOT to share it. I also feel ( have an opinion) that majority of "RTFM" posts are posted just to add to count of " posted xyz number of posts". Some people are easy to impress with statistics... Cheers - back to coding...
Someone had to RTFM ... all your rant telegraphs is that you're above it and expect someone else to give you the Cole's Notes version. Your attitude makes anyone that actually knows anything not bother because they're not interest in your (negative) responses.
"Before entering on an understanding, I have meditated for a long time, and have foreseen what might happen. It is not genius which reveals to me suddenly, secretly, what I have to say or to do in a circumstance unexpected by other people; it is reflection, it is meditation." - Napoleon I
-
ADDENDUM I just went thru few "RTFM" - I am NOT asking how to build a template class - I am asking how to pass template object / variable to existing object. As usual , my "simple question" has turned into sermons and RTFM. As a result I realized I was correct initially asking for "replacing the this pointer", however it was obviously my fault (!) that I did not provide enough information to get real solution. So here is my latest attempt to resolve it and I sill need some real help , no RTFM PLEASE. I decided to pass only part of the data - QList - and got this far - partial constructor solution.
explicit Form_SetupLocalAdapter(QList <*data_list>);
However , I am getting this error and have no clue how to fix it - hence I am posting my request on this forum and - asking for solution.
/mnt/07b7c3f8-0efb-45ab-8df8-2a468771de1f/PROJECTS/RECOVERY/BLUETOOTH/SOURCE/CCC_SOURCE/terminal_SERIAL_BLUETOOTH_VER_1/terminal_SERIAL_BLUETOOTH/terminal_BLUETOOTH/form_setuplocaladapter.h:17: error: use of undeclared identifier 'data_list'
In file included from form_setuplocaladapter.cpp:1:
./form_setuplocaladapter.h:17:44: error: use of undeclared identifier 'data_list'
explicit Form_SetupLocalAdapter(QList <*data_list>);
^So - to make sure - I am asking how to resolve
undeclared identifier 'data_list'
I am not asking for sermon or RTFM ( got it ?) PPS I have never used template and obviously do not have a clue.( Yes, my fault - again...)
I totally understand you must be frustrated but look at it from the perspective of someone new seeing your post. Can't say I'm thrilled to spend time looking into your issue given the tone. And you may be 100% correct. I don't know. All we can see is someone was told to read a manual and they're upset. This same person couldn't even be bothered with filling out a name for their account. Wish you the best buddy. It can be frustrating. Just hope you see it from our perspective.
Jeremy Falcon
-
I totally understand you must be frustrated but look at it from the perspective of someone new seeing your post. Can't say I'm thrilled to spend time looking into your issue given the tone. And you may be 100% correct. I don't know. All we can see is someone was told to read a manual and they're upset. This same person couldn't even be bothered with filling out a name for their account. Wish you the best buddy. It can be frustrating. Just hope you see it from our perspective.
Jeremy Falcon
Well, as "typical" - it is user's fault. I will not apologize for my "tone" - you and everybody else have a choice to ignore it and you are not my mother to criticize my "tone". As far as filling the account - I have lost my original account access, contacted "customer service" and they were unable to figure out why...and again - none of your business how I post in here.... I suppose everybody now expect me to apologize for taking valuable space here and letting out this vent ... Cheers and have swell day
-
Someone had to RTFM ... all your rant telegraphs is that you're above it and expect someone else to give you the Cole's Notes version. Your attitude makes anyone that actually knows anything not bother because they're not interest in your (negative) responses.
"Before entering on an understanding, I have meditated for a long time, and have foreseen what might happen. It is not genius which reveals to me suddenly, secretly, what I have to say or to do in a circumstance unexpected by other people; it is reflection, it is meditation." - Napoleon I
-
I do appreciate your comments, unfortunately my experience is that folks who continually reply with "RTFM" are immune to any suggestions / request to stop such behavior , mainly because they choose not to read such request. Such "contributors" may have technical knowledge , but choose NOT to share it. I also feel ( have an opinion) that majority of "RTFM" posts are posted just to add to count of " posted xyz number of posts". Some people are easy to impress with statistics... Cheers - back to coding...
Member 14968771 wrote:
are immune to any suggestions / request to stop such behavior ,
Except I said nothing about that. Repeating what I said again, and what others said, is that you should point out what you already did (what part of the documentation you read) as part of your original post.
-
Well, as "typical" - it is user's fault. I will not apologize for my "tone" - you and everybody else have a choice to ignore it and you are not my mother to criticize my "tone". As far as filling the account - I have lost my original account access, contacted "customer service" and they were unable to figure out why...and again - none of your business how I post in here.... I suppose everybody now expect me to apologize for taking valuable space here and letting out this vent ... Cheers and have swell day
Member 14968771 wrote:
you and everybody else have a choice to ignore it and you are not my mother to criticize my "tone".
Ok cool. You're a child and you'll never get help from me in the future. Enjoy your tantrum.
Jeremy Falcon