The recipe presents a function overloading decorator in python that do type check. The type signature is marked with the @takes and @returns decorator, which causes the function to raise an InputParameterError exception if called with inappropriate arguments. The @overloaded function searches for the first overloads that doesn't raise TypeError or InputParameterError when called. Alternative overloads are added to the overloads list by using...
The recipe presents a simple decorator for function overloading in python. The @overloaded function searches for the first overloads that doesn't raise TypeError when called. Overloads are added to the overloads list by using the...
Overloading Strings in C# is a web based tutorial in which author discusses about using string in C#. The author describes the method of using SuperStringFunction() in string processing. The author provides code for performing various operation in...
Usage of Operator Overloading in C# is a tutorial for the beginners to know about the operator overloading feature in C#. Operator overloading is an object oriented feature which does not affect the actual meaning of the in-built operators of C#....
parseSize - a function to aid OOP overloading of the size() method in user-defined classes. If the user provides the vector of dimensions of a hypothetical array object, parseSize will take care of the main input/output argument processing in a...
This PHP script is backing up and restoring your MySQL database without overloading your server.
The main difference between this script and other backup solutions is that the current script are splitting the backup process into more...
This is a Module that allows one to write functions with operator overloading, matching by argument number, type, regular expressions and more. Its modeled somewhat after ML syntax.
Jo2 (Java Operators Overloading) :: is Javac (Sun Java Compiler) extended by operators overloading. This open java project comes with a specification of operators overloading in Java. The resulting byte code obeys to the java standard specification.
C++ STL-based parser toolkit that allows the specification of EBNF-like grammars (using operator overloading) and the conversion of arbitrary input (text, tokens or other) to user-defined structures through events attached to grammatic rules.
A preprocessor for C++ that handles a new linguistic construct for defining branches of a multi-method (dynamic overloading).
TMV is a comprehensive linear algebra library which uses operator overloading, views & delayed evaluation to simplify matrix and vector expressions in C++. It is well documented and can optionally call optimized BLAS/LAPACK for faster...
Catsfoot provides to C++ concept checking, overloading with concepts and concept testing to C++ 2011 as a library.
This class uses the error propagation formulae of physicists. An operator overloading example.
FreeBASIC is a 32-bit BASIC compiler, with syntax similar to MS-QuickBASIC, that adds new features such as pointers, unsigned data types, inline assembly, object orientation, and many others.
Features: - A large number of variable...
The anonymous function handle feature of ML 7 is a long-needed feature, and one that I have longed for since I began writing scripts in early ML 6.
Unfortunately, I am still forced to use ML 6 most of the time, so I came up with a way...
These routines assist in the manipulation of matrices with same shape but different content. For example, performing the product A*b is trivial for matrix A and vector b, but what would you do if you had several such products to form? Examples...
A per-value class that implements a generic tree data structure. A tree is a hierarchical data structure where every node has exactly one parent (expect the root) and no or several children.
Along with this relational structure,...
A 32/64-bit Pascal compiler for Win32/64/CE, Linux, Mac OS X/iOS, FreeBSD, OS/2, Game Boy Advance, Nintendo NDS and DOS; semantically compatible with Delphi, Borland Pascal and Mac Pascal (partially) with extra features, e.g. operator overloading.
FreaKaffeE is a freaky extension to the Java(tm) programming language. It features variable and extended method overloading, transactions and much more; thus offering more flexibility. FreaKaffeE programs are compiled into Java code.
YAOOL - Yet Another Object Oriented Language - Based on Pascal, this language will strongly support object oriented theory with strong support for multiple inheritance. Other features will be operator, function, method and even property overloading. |