Concept Based Testing
Offered By: ACCU Conference via YouTube
Course Description
Overview
Explore concept-based testing in C++ through this 58-minute ACCU Conference talk. Learn how to create generic tests for C++ concepts using C++17 features, focusing on the detection idiom and constexpr if. Discover techniques for verifying concept operations, handling partial concept implementations, and guiding class development. Gain insights into constraining classes and functions, testing incomplete models, and examining compound concepts like EqualityComparable and BidirectionalIterator. Suitable for C++ developers familiar with the language, but extensive template meta-programming knowledge is not required.
Syllabus
Intro
Overview
Vision
Example
Concept Use
Concept Definition
Requires Expression
Type Requirement
Nested Requirement
Detect Operations
Simulating Requires Clauses
Simple Requirement
Compound Requirement
Constraining Classes
Constraining Functions
Concept Testing
Incomplete Models
EqualityComparable: Existence Tests
EqualityComparable: Semantic Tests
Concept Bidirectionaliterator
Compound Concept Check
Post-Decrement Test
Basic Decrement Test
Taught by
ACCU Conference
Related Courses
Khronos Sycl Language Framework for C++ Accelerators - Take Advantage of All the MIPSACCU Conference via YouTube Space Invaders - The C++20 Spaceship Operator is Upon Us
ACCU Conference via YouTube Grinding, Farming, and Alliances - Become a Better Programmer by Using Words and Ideas From Casual Gaming
ACCU Conference via YouTube Designing for C++ Concurrency Using Message Passing
ACCU Conference via YouTube Productivity in C++ Game Development - Inside the Mind of an AAA Game Developer
ACCU Conference via YouTube