[Bug c++/95029] Compile error when using constant variable instead of literal

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sun May 10 00:05:21 GMT 2020


--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
>  PacketFragmenting frag(MaxPacketSize(MAX_PACKET_SIZE), PhySize(PHY_SIZE));

I was going to say this defines a function, frag which takes MaxPacketSize and
PhySize as arguments and returns PacketFragmenting .

More information about the Gcc-bugs mailing list