Re: Compiler issue

[ Follow Ups ] [ Post Followup ] [ Forum ]

Posted by Barbara Brazil on August 15, 2018 at 06:04:11:

In Reply to: Re: Compiler issue posted by Grant Foraker on August 15, 2018 at 05:07:03:

You mean something like this? (published notes from 2012 Comet meeting) Actually I remember everyone's eyes seemed glazed over during this presentation. I guess the concepts were outside the normal box.

"Justin recapped the concept of containers, recently introduced for Comet32. STL_Containers are C++ data structures for storing collections of data. They are similar to arrays but each container is designed for a different use and each has its own set of utility functions. We implemented 5 containers for IB: vector, list, map, stack, and queue.

The vector and the map can easily be related to IB concepts you are already familiar with. Think of a vector as an IB array but with no declared limit on the number of elements. You can add any number of elements at runtime and the vector will grow in size as required. And while for an IB array you must declare its type (string or numeric), in a vector any element may be of either type. You reference an individual element by its element number just like an array.

You can think of a map as a good old fashioned Comet keyed file but in memory instead of on disk. Each entry in a map consists of a key and the data associated with that key. You reference an individual element by its key rather than its element number. Like a vector it grows dynamically as needed."

Honestly I suspect the main reason STL Containers weren't embraced back then is that a lot of users were still running Comet16 and this requires Comet32.

Follow Ups:

Post a Followup



What is the name of the main Signature System's Product?  


Optional Link URL:
Link Title:
Optional Image URL:

You may attach up to 5 files to your followup (see below):

Each file can be a maximum of 1MB in length Uploaded files will be purged from the server on a regular basis.

[ Follow Ups ] [ Post Followup ] [ Forum ]