Jonkman Microblog
  • Login
Show Navigation
  • Public

    • Public
    • Network
    • Groups
    • Popular
    • People

Conversation

Notices

  1. Annah (maiyannah@community.highlandarrow.com)'s status on Friday, 21-Dec-2018 20:56:41 EST Annah Annah
    @ninjawedding Are they going to implement explicit byval or byref specifications sometime this century, you reckon?
    In conversation Friday, 21-Dec-2018 20:56:41 EST from community.highlandarrow.com permalink
    1. Verius (verius@community.highlandarrow.com)'s status on Saturday, 22-Dec-2018 05:21:12 EST Verius Verius
      in reply to
      @maiyannah @ninjawedding Well if you want to pass by value and there's no && overload you can use something like "template <typename T> T make_temp(T in) {return in;}" to turn the variable into a temporary and use the fact that temporaries can't be reffed. But I agree that being able to be explicit about whether a variable should match a T, T& or T&& parameter would be very useful.
      In conversation Saturday, 22-Dec-2018 05:21:12 EST from community.highlandarrow.com permalink
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

Jonkman Microblog is a social network, courtesy of SOBAC Microcomputer Services. It runs on GNU social, version 1.2.0-beta5, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All Jonkman Microblog content and data are available under the Creative Commons Attribution 3.0 license.

Switch to desktop site layout.