Click here to Skip to main content
14,980,370 members

Articles by john morrison leon (Articles: 10)

Articles: 10

RSS Feed

Average article rating: 4.70

Desktop Programming
MFC
Posted: 18 Sep 2015   Updated: 18 Sep 2015   Views: 15,061   Rating: 4.77/5    Votes: 14   Popularity: 5.31
Licence: The Code Project Open License (CPOL)      Bookmarked: 25   Downloaded: 175
Please Sign up or sign in to vote.
observer_ptr, a smart observer guaranteed to always be either valid or test as null. Transparently harnessing unique_ptr's custom deleter feature to detect object destruction.
WTL
Posted: 29 May 2015   Updated: 3 Jun 2015   Views: 68,727   Rating: 4.96/5    Votes: 63   Popularity: 8.78
Licence: The Code Project Open License (CPOL)      Bookmarked: 99   Downloaded: 3,718
Please Sign up or sign in to vote.
An alternative approach in which dialogs are entirely specified as C++ code that requires neither IDE support to be written nor IDE generated resources to be executed. Powered by the C++ type system.
Posted: 14 May 2008   Updated: 14 Apr 2014   Views: 107,913   Rating: 4.96/5    Votes: 46   Popularity: 8.11
Licence: The Code Project Open License (CPOL)      Bookmarked: 88   Downloaded: 661
Please Sign up or sign in to vote.
A smart pointer system for safe application development in C++.
Programming Languages
C++
Posted: 18 Nov 2012   Updated: 18 Nov 2012   Views: 29,991   Rating: 3.50/5    Votes: 8   Popularity: 3.16
Licence: The Code Project Open License (CPOL)      Bookmarked: 13   Downloaded: 0
Please Sign up or sign in to vote.
A brief excursion into practical contexts in which C++ references can be used effectively with discussion of the dangers in using them.
Posted: 30 Apr 2014   Updated: 5 May 2014   Views: 22,611   Rating: 4.68/5    Votes: 18   Popularity: 5.87
Licence: The Code Project Open License (CPOL)      Bookmarked: 30   Downloaded: 0
Please Sign up or sign in to vote.
Some clear criteria for choosing when to use C++ references and how to know when they are safe.
Posted: 13 Nov 2012   Updated: 14 Apr 2014   Views: 31,511   Rating: 4.82/5    Votes: 12   Popularity: 5.20
Licence: The Code Project Open License (CPOL)      Bookmarked: 56   Downloaded: 371
Please Sign up or sign in to vote.
The missing link for complete memory and pointer safety in C++
Posted: 25 Mar 2014   Updated: 30 Apr 2014   Views: 33,573   Rating: 4.68/5    Votes: 10   Popularity: 4.47
Licence: The Code Project Open License (CPOL)      Bookmarked: 39   Downloaded: 356
Please Sign up or sign in to vote.
Introducing smart observers of single owners and the concept of Public and Private scope visibility
C++11
Posted: 24 May 2017   Updated: 24 May 2017   Views: 27,578   Rating: 4.95/5    Votes: 22   Popularity: 6.64
Licence: The Code Project Open License (CPOL)      Bookmarked: 18   Downloaded: 735
Please Sign up or sign in to vote.
Type quantities according to the units in which they are measured. A complete implementation of units of measurement as a data type for C++ 11.
Posted: 4 Jan 2018   Updated: 4 Jan 2018   Views: 7,521   Rating: 4.78/5    Votes: 9   Popularity: 4.56
Licence: The Code Project Open License (CPOL)      Bookmarked: 7   Downloaded: 81
Please Sign up or sign in to vote.
Class method emulation for plain arrays plus unified handling of plain arrays, std::arrays and std::vectors
VC++
Posted: 12 Sep 2014   Updated: 8 Dec 2014   Views: 58,577   Rating: 4.95/5    Votes: 26   Popularity: 7.01
Licence: The Code Project Open License (CPOL)      Bookmarked: 43   Downloaded: 570
Please Sign up or sign in to vote.
A lightweight library allowing diverse unit types, seamless implicit scaling between them and the ability to work efficiently with multiple factor-less base unit systems (e.g. MKS and cgs).

Average blogs rating:

No blogs have been submitted.

Average tips rating:

No tips have been posted.

Average reference rating:

No reference articles have been posted.

Average project rating:

No projects have been posted.

john morrison leon
Software Developer (Senior)
Spain Spain
I love writing algorithms and creating infrastructures that solve problems and work with a lot of graphical visualisation if only to make sure that I can see it is all working properly. I do all of the serious work in C++.