Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8103893
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T23:40:49+00:00 2026-06-05T23:40:49+00:00

I use the MSVC with STL on VS. The autocomplete suggestions that it gives

  • 0

I use the MSVC with STL on VS. The autocomplete suggestions that it gives is giving me grief. Can you please break this suggestion for the std::transform function?

_OutTy * transform<_InIt1, _InTy, _InSize, _OutTy, _OutSize, _Fn2>
(_InIt1 _First1, _InIt1 _Last1, _InTy (&_First2)[_InSize], _OutTy(&_Dest)[_OutSize], _Fn2 _Func)

Edit: I am sorry but I should have been clearer. I saw the transform’s documentation. I wanted someone to break down the various symbols in the above sentence.

Thanks.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T23:40:50+00:00Added an answer on June 5, 2026 at 11:40 pm
    _OutTy* // output type   
    transform<_InIt1, // input iterator type for first range
              _InTy, _InSize, // input and size type for second range (array)
              _OutTy, _OutSize, // output and size type for output range (array)
              _Fn2> // transformation function object type
    (_InIt1 _First1, _InIt1 _Last1, // first and last iterators for first range
     _InTy (&_First2)[_InSize], // array for second range
     _OutTy(&_Dest)[_OutSize], // array for output range
     _Fn2 _Func) // transformation function object
    

    My recommendation: don’t waste your time doing this. It took me several minutes just to break that down myself, and I’m used to this stuff. Get quick access to the docs as suggested in other posts.

    If you want to be able to decipher MSVC’s C++ library implementation, it helps to look through their headers rather than just the intellisense. You’ll pick up on some of the common conventions they use, like InIt for input iterator, RanIt for random-access iterator, etc. It’s also essential to understand the basic STL concepts like Sequences, Input Iterators, Bidirectional Iterators, etc. Here’s a rather dated but still nice and carefully worded reference: http://www.sgi.com/tech/stl/table_of_contents.html

    The thing to note about this overload is that the second range and output range are arrays whose sizes are deduced automatically, while the first range is specified normally as a couple of iterators pointing to the start and end of the range. Otherwise the first three parameters would be input iterators and the fourth and return type would be an output iterator.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

On this question , there's an answer that states: You can use typedef to
MSVC compiler says that fopen() is deprecated, and recommends the use of fopen_s() .
I'm looking for a good parser generator that I can use to read a
Is there any free 3rd-party implementation of std::thread API for use in MSVC versions
How can I disable all MSVC warnings that come from the boost library? I
How can I use a relative near jmp in MSVC inline assembler? I tried
I want to use MSVC compiler to build a DLL file. The problem is
I'm trying to use the Open XML SDK with C++/CLI with MSVC 10 compiler.
I'm porting some code to Windows (sigh) and need to use fesetround. MSVC doesn't
Can we use namespaces like in below snippet? The code compiles in both gcc

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.