Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.c++ > #87411

Re: problem with c++ union as argument:

From Juha Nieminen <nospam@thanks.invalid>
Newsgroups comp.lang.c++
Subject Re: problem with c++ union as argument:
Date 2022-11-16 09:36 +0000
Organization Aioe.org NNTP Server
Message-ID <tl2aug$160m$1@gioia.aioe.org> (permalink)
References <tkqbg6$1dvjo$1@dont-email.me>

Show all headers | View raw


aotto1968 <aotto1968@t-online.de> wrote:
> error: no matching function for call to 'ccmqmsgque::MqMsgqueCallbackC::MqMsgqueCallbackC(const 
> ccmqmsgque::MqMsgqueCallbackC::MqMsgqueCallbackU&)'

On a side note, when asking such questions, it's polite to do some work to
prepare your question rather than just dumping raw code as-is and expecting
people to do that work for you.

The "work" I'm talking about is making the code you are posting as easy for
the reader to understand as possible. This means creating a *minimal*
*complete* piece of code that clearly and succinctly depicts the problem
you are having and asking about. The easier you make for others to read
and understand your code and your question, the more likely it is that
you'll get a good answer. Remove all unnecessary stuff, write a minimal
example that contains only the parts relevant to your question. If necessary,
name your variables and functions more clearly (you can't expect people to
know what some gibberish like "ccmqmsgque" means). Just dumping your existing
code here as-is, with complete disregard to readability and understandability
shows a degree of laziness and unwillingness to help others help you.

As a side benefit, in many cases when you are minimizing your code
you'll sometimes actually find the problem yourself.

Back to comp.lang.c++ | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

problem with c++ union as argument: aotto1968 <aotto1968@t-online.de> - 2022-11-13 09:56 +0100
  Re: problem with c++ union as argument: Bonita Montero <Bonita.Montero@gmail.com> - 2022-11-13 11:05 +0100
  Re: problem with c++ union as argument: Marcel Mueller <news.5.maazl@spamgourmet.org> - 2022-11-13 12:48 +0100
    Re: problem with c++ union as argument: Michael S <already5chosen@yahoo.com> - 2022-11-13 04:44 -0800
    Re: problem with c++ union as argument: Bonita Montero <Bonita.Montero@gmail.com> - 2022-11-13 19:52 +0100
  Re: problem with c++ union as argument: Michael S <already5chosen@yahoo.com> - 2022-11-13 04:28 -0800
  Re: problem with c++ union as argument: Andrey Tarasevich <andreytarasevich@hotmail.com> - 2022-11-13 11:39 -0800
  Re: problem with c++ union as argument: Juha Nieminen <nospam@thanks.invalid> - 2022-11-16 09:36 +0000
  Re: problem with c++ union as argument: Jorgen Grahn <grahn+nntp@snipabacken.se> - 2022-11-19 22:42 +0000

csiph-web