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 777069
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T19:32:50+00:00 2026-05-14T19:32:50+00:00

Seems that there is only doubly linked list (but no singly linked list) in

  • 0

Seems that there is only doubly linked list (but no singly linked list) in the C++ standard library, right? Is there any widely-used C++ libraries with singly linked list?

  • 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-05-14T19:32:50+00:00Added an answer on May 14, 2026 at 7:32 pm

    There is slist, which is an SGI extension (__gnu_cxx::slist)

    #include <iostream>
    #include <iterator>
    #include <ext/slist>
    
    int main(int argc, char** argv) {
      __gnu_cxx::slist<int> sl;
      sl.push_front(1);
      sl.push_front(2);
      sl.push_front(0);
      std::copy(sl.begin(), sl.end(),  // The output is 0 2 1
                std::ostream_iterator<int>(std::cout, " "));
      std::cout << std::endl;
      return 0;
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

It seems that there has been a recent rising interest in STM (software transactional
I've noticed that there seems to be quite a bit of hostility towards Linq
I have a Flex application that seems larger than it should be. There is
Is there some easy way to pad Strings in Java? Seems like something that
Has any one done this before? It would seem to me that there should
There are a set of questions that seem to be commonly-used in interviews and
I seem to recall that there is an HTML tag that escapes absolutely everything
After having looked at each of these two projects, it seems that both are
I can't seem to find that option. Surely it's in there?
I understand they both don't change the URL that the client sees. Is there

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.