---
title: "Discussion on \"Sets In C++\" | Hashnode"
description: "Discussion on \"Sets In C++\". In C++, std::set and std::unordered_set are associative containers that store unique elements, meaning no duplicate values are allowed. They are particularly useful when you need to keep a collection of items where order doesn't matter, but uniquenes..."
url: "https://hashnode.com/posts/sets-in-c/66bda5591b5c93e0d2918fab"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Sets In C++](https://sarthaksmwl.hashnode.dev/sets-in-c?utm_source=hashnode&utm_medium=feed)

In C++, std::set and std::unordered\_set are associative containers that store unique elements, meaning no duplicate values are allowed. They are particularly useful when you need to keep a collection of items where order doesn't matter, but uniquenes...

Aug 15, 2024 · 5 min read · sarthaksmwl.hashnode.dev  
Read the article

## Written by

[Sarthak semwal](https://hashnode.com/@sarthaksmwl)

@sarthaksmwl · Delhi

  
[View profile](https://hashnode.com/@sarthaksmwl)

Hi there, I'm Sarthak Semwal and I'm a tech enthusiast with a passion for writing about all things technology. I believe that sharing knowledge is the key to learning and growth, which is why I started this blog. On this platform, I'll be sharing my insights on various technical topics such as Android , Web development , and more.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
