Remove c
article thumbnail

The Pitfalls in C++ Unit Testing

DZone

Recently there has been a surge of interest in C++ unit testing. C++ unit testing has not been common in C++ development in the past. Although C++ is a kind of programming language that fits well with unit testing, several complexities require extra care.

C++ 184
article thumbnail

MongoDB SSL with self-signed certificates in C#

Scalegrid

In this blog post, we show you two methods to securely connect to a MongoDB server configured with self-signed certificates for SSL, using the official C# MongoDB driver. How to Connect MongoDB SSL to your C# Application Click To Tweet. Note: All the code samples have been tested using MongoDB Driver v2.8.1 Prerequisites.

C++ 244
Insiders

Sign Up for our Newsletter

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Trending Sources

article thumbnail

My new CppCon talk is on YouTube: “Cooperative C++ Evolution – Toward a TypeScript for C++”

Sutter's Mill

At CppCon 2022, I argued for why we should try to make C++ 10x simpler and 50x safer , and this update is an evolution of the update talk I gave at C++ Now in May, with additional news and demos. No one else has tried the TypeScript plan for C++ yet, and I see value in trying it, and so that’s the plan I’m following for cppfront.

C++ 99
article thumbnail

Trip report: Summer ISO C++ standards meeting (Varna, Bulgaria)

Sutter's Mill

Minutes ago, the ISO C++ committee finished its meeting in-person in Varna, Bulgaria and online via Zoom, where we formally began adopting features into C++26. For example, the feature freeze for C++23 was in early 2022. Already in C++23] Rule 2. You can find a brief summary of ISO procedures here. New] Rule 3.

C++ 143
article thumbnail

Trip report: Autumn ISO C++ standards meeting (Kona, HI, USA)

Sutter's Mill

Today, the ISO C++ committee completed its second meeting of C++26, held in Kona, HI, USA. Our hosts, Standard C++ Foundation and WorldQuant, arranged for high-quality facilities for our six-day meeting from Monday through Saturday. This time, the committee adopted the next set of features for C++26. This is that library.

C++ 107
article thumbnail

The Quality of Auto-Generated Code

O'Reilly

Kevlin Henney and I were riffing on some ideas about GitHub Copilot , the tool for automatically generating code base on GPT-3’s language model, trained on the body of code that’s in GitHub. First, we wondered about code quality. We know how to test whether or not code is correct (at least up to a certain limit).

Code 120
article thumbnail

C++ safety, in context

Sutter's Mill

To talk about C++’s current safety problems and solutions well, I need to include the context of the broad landscape of security and safety threats facing all software. When I say “safety” unqualified here, I mean programming language safety, which benefits both software security and software safety. Acknowledgments.

C++ 139